ssh_job_start
Starts a long-running remote command in the background and returns a job ID, so builds, servers, benchmarks, or logs keep running after the connection closes. Poll status and stop when done.
Instructions
Start a long-running command in the background on the remote host and return immediately
with a job_id. Output goes to a log on the device; the job keeps running even if the MCP server
or connection goes away. Use for builds, servers, benchmarks, training, flashing, tail -f, etc.
Then poll with ssh_job_status and stop with ssh_job_stop.
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": {
"target": "<target>",
"command": "<command>"
},
"name": "ssh_job_start"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | ||
| sudo | No | ||
| target | Yes | ||
| command | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||