Send test/control command
flash_testSends an immediate control/test command to a connected board to drive a specified actuator or output, changing device state.
Instructions
Send a control/test command to a connected device via the app's sendTestCommand. Executes immediately — drives an actuator/output on the board. MUTATING.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"command": "<command>"
},
"name": "flash_test"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | No | Which device to target — pass exactly one field. If omitted, the app must know exactly one device; ambiguous or unmatched targets are refused. | |
| command | Yes | sendTestCommand payload {config, actuator, set_value, receiver, data}; deviceId is taken from target. |