codex_implement
Synthesize complex code, algorithms, refactorings, or boilerplate by requesting OpenAI Codex in read-only sandbox mode from a specification.
Instructions
Request OpenAI Codex to synthesize complex code, algorithms, structural refactorings, or boilerplate in read-only sandbox mode.
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": {
"specification": "<specification>"
},
"name": "codex_implement"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | Model to use (default: "gpt-6.1-sol", options: "gpt-6.1-sol", "gpt-6.0-sol", "luna", "astra"). | |
| context_files | No | Paths to files that provide context, contracts, interfaces, or existing implementations. | |
| specification | Yes | Detailed specification and functional requirements for the code. | |
| 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: "xhigh"). |