run_task
Send a task to the connected device over the debug relay and wait synchronously for its result.
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": {
"type": "<type>"
},
"name": "run_task"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | task type the device client understands, e.g. "echo" | |
| device | No | target device: name or sid from list_devices. Omit only when the account has exactly one device. | |
| payload | No | task payload object | |
| timeout_ms | No | how long to wait for the device (default 60000, max 120000) |