Documentation
¶
Overview ¶
Command astool dispatches a single MCP tool call against the codex app-server through the agentserver codex-app-gateway, bypassing the LLM.
Intended use: invoke from codex TUI shell mode (`!astool env_mcp list_environments`). The TUI injects CODEX_THREAD_ID into the subprocess env (see codex protocol/src/shell_environment.rs); astool reuses that thread to issue an `mcpServer/tool/call` JSON-RPC over the gateway's WebSocket endpoint.
Click to show internal directories.
Click to hide internal directories.