commands_run_command
Execute a command on Yamcs by providing the command name and optional arguments. Supports dry run for validation before execution.
Instructions
Execute a command on Yamcs.
To execute SWITCH_VOLTAGE_OFF with voltage_num=1, call this tool with: command="/YSS/SIMULATOR/SWITCH_VOLTAGE_OFF" args={"voltage_num": 1}
To execute with multiple arguments: command="/YSS/SIMULATOR/SOME_CMD" args={"arg1": "value1", "arg2": 123}
The args parameter should be a dictionary mapping argument names to values. If you pass a JSON string, it will be automatically parsed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| args | No | Dictionary of command arguments like {"voltage_num": 1} or JSON string '{"voltage_num": 1}' | |
| command | Yes | Full qualified command name like /YSS/SIMULATOR/SWITCH_VOLTAGE_OFF | |
| comment | No | Optional comment for the command | |
| dry_run | No | If true, validate without executing | |
| instance | No | Yamcs instance name | |
| processor | No | Processor name, usually "realtime" | realtime |
| sequence_number | No | Optional sequence number |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||