codex_repair_issue
Run allowlisted repair actions with dry-run first, following diagnostics or agent guidance.
Instructions
Run an allowlisted repair action with dry-run first by default. Use this only when diagnostics or agentGuidance recommends a specific action. Stop when loopGuard.allowed is false.
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": {
"action": "<action>"
},
"name": "codex_repair_issue"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | ||
| diagnosis_id | No | ||
| thread_id | No | ||
| turn_id | No | ||
| operation_id | No | ||
| workflow_id | No | ||
| client_request_id | No | ||
| reason | No | ||
| sandbox | No | ||
| approval_policy | No | ||
| dry_run | No | ||
| force | No | ||
| stale_after_minutes | No | ||
| older_than_days | No | ||
| timeout_seconds | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| error | No | ||
| agentGuidance | No | ||
| agentGuidanceText | No | ||
| recoveryAttemptState | No |