Ask Codex
codex_queryGet a different model's perspective: ask OpenAI Codex for code review, explanation, or implementation tasks from within your current workflow.
Instructions
Ask OpenAI Codex a question or give it a task. Use for getting a second opinion, exploring unfamiliar code, or tasks that benefit from a different model's perspective.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | Override the Codex model. OMIT this unless explicitly told otherwise: when omitted, the Codex CLI uses the default from ~/.codex/config.toml, which is kept current. This enum may lag behind newly released models. | |
| prompt | Yes | The question or task for Codex | |
| threadKey | No | Optional key enabling multi-turn continuity. Calls sharing a key use the same harness conversation and are serialized. Omit it for independent one-shot calls, including parallel reviews. | |
| workingDirectory | No | Working directory (defaults to server cwd) |