read_background
Check the status and retrieve the most recent output from a background job. Specify the number of trailing lines or set tail to zero for complete logs.
Instructions
Read status and last N lines of stdout/stderr for a background job. tail=0 returns full logs.
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": "read_background"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job_id | Yes | ||
| tail | No | Number of trailing lines to return. Default 100. |