85ff26ae51e1045207da9ef7ae4fc8f963e2a913
Instead of flattening the entire operation registry into individual OpenAI tool definitions (with schema normalization headaches), the AgentLoop provides the same 4 discovery+call meta-tools that the MCP server already exposes: hub.list, hub.search, hub.schema, hub.call. This eliminates operationToOpenAITool() + normalizeSchemaForOpenAI() entirely. The LLM discovers and calls operations the same way an MCP client does. Same tool defs in context always (4, not N), same call protocol path (callMap.call()), unified interface for both MCP and direct agent consumers.
Description
No description provided
Languages
TypeScript
100%