codex_analyze
Analyze code architecture, dependencies, and structure in a read-only sandbox to answer targeted questions and surface design issues before making changes.
Instructions
Perform deep architectural, dependency, and structural code analysis in read-only sandbox mode using OpenAI Codex.
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": {
"task": "<task>"
},
"name": "codex_analyze"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task | Yes | The specific question, architectural aspect, or focus area to analyze. | |
| model | No | Model to use (default: "gpt-6.1-sol", options: "gpt-6.1-sol", "gpt-6.0-sol", "luna", "astra"). | |
| file_paths | No | Optional list of files or directories to inspect. | |
| user_confirmed | No | Mandatory true confirmation if using the top-tier "astra" model. | |
| workspace_path | No | Optional absolute path to workspace root. | |
| reasoning_effort | No | Reasoning effort depth (default: "high"). |