ssh_exec_result
Retrieve the status and output of a background SSH job using its job ID, and optionally block until the job completes or reaches a specified timeout.
Instructions
Check the status and output of a background job started with ssh_exec background=true. Optionally wait until it exits.
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": {
"job_id": "<job_id>"
},
"name": "ssh_exec_result"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| wait | No | Block until the job exits or the timeout is reached. | |
| job_id | Yes | The job_id returned by ssh_exec background=true. | |
| timeout_ms | No | Maximum time to wait when wait=true. |