codex_get_diagnostic_logs
Read redacted diagnostic logs and app-server audit entries with filters for targeted troubleshooting.
Instructions
Read redacted diagnostic log and app-server audit entries with filters. Use this only for targeted troubleshooting, not normal polling. Raw payload mode is for local audit and remains secret-redacted.
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_get_diagnostic_logs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | No | all | |
| workflow_id | No | ||
| thread_id | No | ||
| turn_id | No | ||
| process_generation | No | ||
| since_minutes | No | ||
| severity | No | ||
| limit | No | ||
| max_line_chars | No | ||
| include_payload | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| error | No | ||
| agentGuidance | No | ||
| agentGuidanceText | No | ||
| recoveryAttemptState | No |