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.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pid | Yes | ||
| tail_bytes | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |