codex_raw
Execute Codex CLI with arbitrary arguments, serving as an escape hatch for options not covered by other tools while still applying server model overrides.
Instructions
Run the Codex CLI with an arbitrary argument array. Escape hatch for options not covered by the other tools. The server's model-override environment variable, if set, still applies.
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": {
"args": "<args>"
},
"name": "codex_raw"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | Working directory for the codex process. | |
| env | No | Additional environment variables for codex. | |
| args | Yes | ||
| timeoutMs | No | Process timeout in milliseconds. |