codex_collect_diagnostics
Collect a scoped diagnostic snapshot with evidence and guidance when status reports indicate a failed, stale, orphaned, or degraded state. Diagnose issues before initiating repairs.
Instructions
Collect a scoped diagnostic snapshot with compact evidence and guidance. Use this before repair when status reports failed, stale, orphaned, or degraded state. It does not execute repairs.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "codex_collect_diagnostics"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| operation_id | No | ||
| workflow_id | No | ||
| thread_id | No | ||
| turn_id | No | ||
| since_minutes | No | ||
| include_logs | No | ||
| log_limit | No | ||
| event_limit | No | ||
| include_timeline | No | ||
| timeline_limit | No | ||
| refresh_catalog | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| error | No | ||
| agentGuidance | No | ||
| agentGuidanceText | No | ||
| recoveryAttemptState | No |