# Commands

Command messages are the basis for interacting with the real-time API. All commands take the form of a JSON payload, and will return a JSON response.

| Attribute | Type                 | Description                                                                                                                                                                 |
| --------- | -------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| id        | `number` or `string` | A unique ID to associated with the command. This is returned as part of the response. Generally an incrementing counter, however any string or numerical value may be used. |
| cmd       | `string`             | The command type. One of `bind`, `unbind`, `exec`, `debug`, or`ignore`.                                                                                                     |
| sys       | `string`             | The system ID that the command targets.                                                                                                                                     |
| mod       | `string`             | The name of the module that the command targets.                                                                                                                            |
| name      | `string`             | Method, or status variable name to be interacted with.                                                                                                                      |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://engine.place.technology/api/control/websocket/commands.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
