codex_risk_radar
Analyzes a git diff to detect risk zones and recommends whether to use ask, review, or plan and review for collaboration.
Instructions
Analyze a git diff to identify risk zones and recommend the right collaboration depth. Returns risk score, affected categories, and whether to use codex_ask, codex_review, or codex_plan+review.
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": {
"diff": "<diff>"
},
"name": "codex_risk_radar"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| diff | Yes | Unified git diff text | |
| changed_files | No | Comma-separated list of changed file paths | |
| commit_message | No | Commit message for additional context | |
| working_dir | No | Optional working directory used as implicit session key | |
| session_id | No | Optional session key to persist risk radar context |