job_status
Check a background job started with job_start: whether it is still running or finished (with its exit code), when it started, and the last lines of its output.
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": {
"host": "<host>",
"job": "<job>"
},
"name": "job_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job | Yes | Job id returned by job_start | |
| host | Yes | Server id (or exact name) from hosts_list | |
| lines | No | How many last lines of output to return (default 40, at most 500) | |
| username | No | Login user the job was started as (if one was given to job_start) |