Start Device Command Job
sailfish_device_command_startStart a detached SSH command on a Sailfish device and get a job ID instantly. Use for GDB, tracing, or any command exceeding 15 seconds.
Instructions
Start a detached SSH command with the configured Sailfish user-session environment and immediately return a job id. Use this for GDB, tracing, and any device command that may exceed 15 seconds.
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": "sailfish_device_command_start"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| device | No | Configured device alias or ssh target. When the user says the device is attached over USB, use 'usb' for the default device or 'usb:<name>' when the user supplies a device name. The USB connection trusts that name for device metadata and does not resolve it through DNS. | |
| command | Yes | Command argv to run; shell parsing is not applied. | |
| timeout | No | Detached job lifetime in seconds. | |
| run_as_user | No | Run through runuser/su as the configured device username. |