OpenAI Responses API Agents API Programmatic Tool Calling Function Calling Tool Search MCP

OpenAI Programmatic Tool Calling: Orchestrate Tools with JavaScript

Source: OpenAI API documentation — Programmatic Tool Calling Editorial note: This independently published companion preserves the guide’s technical structure and key examples in a condensed form. The official documentation is the canonical and most current reference. Programmatic Tool Calling lets a model write and run JavaScript that coordinates its available tools. Instead of returning every intermediate result to the model, a generated program can run calls concurrently, apply loops and conditions, combine results, and emit a smaller final value. ...

September 11, 2026 · 10 min · 1945 words · OpenAI

OpenAI Tool Search: Load Large Tool Catalogs on Demand

Source: OpenAI API documentation — Tool search Editorial note: This is an independently published companion to the official guide. It preserves the technical structure and key examples in a condensed form. The official documentation remains the canonical and most current reference. As an agent’s tool catalog grows, loading every definition into the model context becomes expensive. Parameter schemas consume input tokens even when the associated tools are irrelevant to the current task, and changing those definitions can invalidate a cached prompt prefix. ...

September 11, 2026 · 9 min · 1831 words · OpenAI