Check Remote Background Job Status and Logs
ssh_bg_statusCheck a background job's live status, exit code, and tail or incremental logs by job ID; omit the ID to list all tracked jobs.
Instructions
Check live running status, exit code, and tail/incremental logs of a background job by job_id. Omit job_id to list all tracked background jobs.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "ssh_bg_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job_id | No | Job ID returned by ssh_bg_start. Omit to list all tracked jobs. | |
| target | No | Optional target filter when listing jobs (ignored if job_id is given) | |
| max_bytes | No | Maximum log bytes to return (default: 65536) | |
| tail_lines | No | Lines to return from end of log when byte_offset is omitted (default: 200) | |
| byte_offset | No | Read incrementally starting from this byte offset (pass previous nextByteOffset) |