Read a long-running command job
exec_statusRetrieve the status and incremental stdout/stderr of a remote command execution using offset-based pagination. Monitor job progress without redundant data.
Instructions
Return job status plus stdout/stderr slices. Pass stdoutOffset/stderrOffset from the previous response's nextOffset fields to read incrementally.
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": {
"jobId": "<jobId>"
},
"name": "exec_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| jobId | Yes | ||
| maxBytes | No | ||
| stderrOffset | No | ||
| stdoutOffset | No |