Skip to main content
Glama

Codex Bridge

by eLyiN

consult_codex_with_stdin

Process piped content through Codex AI for automated code analysis, file review, and batch processing in CI/CD workflows using stdin input and custom prompts.

Instructions

Consult Codex with stdin content piped to prompt - pipeline-friendly execution. Similar to 'echo "content" | codex exec "prompt"' - combines stdin with prompt. Perfect for CI/CD workflows where you pipe file contents to the AI. Args: stdin_content: Content to pipe as stdin (e.g., file contents, diff, logs) prompt: The prompt to process the stdin content 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
promptYes
stdin_contentYes
timeoutNo

Input Schema (JSON Schema)

{ "properties": { "directory": { "title": "Directory", "type": "string" }, "format": { "default": "json", "title": "Format", "type": "string" }, "prompt": { "title": "Prompt", "type": "string" }, "stdin_content": { "title": "Stdin Content", "type": "string" }, "timeout": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "default": null, "title": "Timeout" } }, "required": [ "stdin_content", "prompt", "directory" ], "title": "consult_codex_with_stdinArguments", "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