Skip to main content
Glama

Codex Bridge

by eLyiN

consult_codex

Process prompts with structured output for text, JSON, or code extraction using OpenAI's Codex AI through direct CLI integration.

Instructions

Consult Codex in non-interactive mode with structured output. Processes prompt and returns formatted response. Supports text, JSON, and code extraction formats. Args: query: The prompt to send to Codex directory: Working directory (required) format: Output format - "text", "json", or "code" (default: "json") timeout: Optional timeout in seconds (overrides env var, recommended: 60-120) Returns: Formatted response based on format parameter

Input Schema

NameRequiredDescriptionDefault
directoryYes
formatNojson
queryYes
timeoutNo

Input Schema (JSON Schema)

{ "properties": { "directory": { "title": "Directory", "type": "string" }, "format": { "default": "json", "title": "Format", "type": "string" }, "query": { "title": "Query", "type": "string" }, "timeout": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "default": null, "title": "Timeout" } }, "required": [ "query", "directory" ], "title": "consult_codexArguments", "type": "object" }

Other Tools from Codex Bridge

Related Tools

    MCP directory API

    We provide all the information about MCP servers via our MCP API.

    curl -X GET 'https://glama.ai/api/mcp/v1/servers/eLyiN/codex-bridge'

    If you have feedback or need assistance with the MCP directory API, please join our Discord server