shell_output
Reads new output from a background shell job since the last call, reports whether it is still running, and returns the exit code when finished.
Instructions
Read new output from a background job started with shell, since the last call. Reports whether the job is still running and its exit code once finished.
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": "shell_output"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job_id | Yes | Job id returned by shell |