Ask Codex
codex_queryUse this MCP bridge to send a prompt to OpenAI Codex for a second opinion, unfamiliar code exploration, or implementation delegation. Pass a thread ID to continue prior Codex conversations.
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 | |
| threadId | No | Continue a previous Codex conversation: pass the threadId returned by an earlier call. Omit to start a fresh thread. | |
| workingDirectory | No | Working directory (defaults to server cwd) |