ssh_job_output
Retrieve a detached job's combined stdout and stderr output from a specified byte offset, so you can inspect progress without waiting for completion.
Instructions
Returns what a detached job has written so far, stdout and stderr together, from a byte offset you choose. For whether the job is still running rather than what it printed, ssh_job_status answers in one line.
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": {
"profile": "<profile>",
"id": "<id>"
},
"name": "ssh_job_output"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Job id returned by ssh_exec with detach: true. A job started with sudo is reached as root from the id alone — nothing extra to pass. | |
| offset | No | Byte offset to read from; the answer names the next one. | |
| profile | Yes | Machine name. |