inspect
Inspect an agent's execution state after failures to debug timeouts, crashes, or unexpected results. Writes a human-readable debug report.
Instructions
Inspect an agent's full execution state — partial output, stream log, files produced.
Use after a timeout, crash, or unexpected result to understand what happened. Writes a human-readable debug report to output_dir/inspect.md.
Args: ref: A ref string like "run_id/agent_id".
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": {
"ref": "<ref>"
},
"name": "inspect"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |