codex_version
Determine the installed Codex CLI version to confirm availability and diagnose compatibility issues before running coding tasks.
Instructions
Return the installed Codex CLI version.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "codex_version"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | Working directory for the codex process. | |
| env | No | Additional environment variables for codex. | |
| timeoutMs | No | Process timeout in milliseconds. |