status
Check a background process's exit code, state, and recent output to determine if it's running, completed, or timed out, including duration and captured bytes.
Instructions
Check background process state, exit code, and tail output.
Returns process state (running/completed/timed_out), duration, total bytes captured, truncation status, and recent 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": {
"pid": "<pid>"
},
"name": "status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pid | Yes | ||
| tail_bytes | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |