[ ABORT TO HUD ]
SEQ. 1
SEQ. 2
SEQ. 3
Built-in Tools & Agentic Loops
Tools That Ship with the API
The Responses API includes powerful built-in tools that require zero setup - just enable them in your request.
Built-in Tool Catalog
| Tool | What It Does | Use Case |
|---|---|---|
| web_search | Searches the internet for real-time information | Current events, live data, fact-checking |
| file_search | Searches your uploaded Vector Stores | RAG over internal documents |
| code_interpreter | Executes Python in a sandbox | Data analysis, chart generation, math |
| computer_use | Controls a virtual desktop via screenshots | Browser automation, legacy app interaction |
| mcp | Connects to external MCP servers | Enterprise integrations, databases, APIs |
| image_generation | Creates images via GPT Image 2 | Design, mockups, visual content |
Agentic Loops
The model can chain multiple tools in a single request. Ask "Research competitor pricing and create a chart" and it will:
- Call
web_searchto find pricing data - Call
code_interpreterto build a matplotlib chart - Return the chart image + text analysis
const response = await openai.responses.create({
model: "o3-mini",
tools: [
{ type: "web_search" },
{ type: "code_interpreter" }
],
input: "Find the latest Bitcoin price and plot a 7-day chart"
});
MCP Integration
// Connect to remote MCP servers directly in the API
const response = await openai.responses.create({
model: "o3-mini",
tools: [{
type: "mcp",
server_label: "my-crm",
server_url: "https://mcp.acme.com/sse",
require_approval: "always"
}],
input: "Look up the latest deal status for Acme Corp"
});
🎯 Key Insight: The Responses API makes OpenAI a first-class MCP client. You can connect OpenAI o3-mini to any MCP server - the same servers that work with Claude, Cursor, and VS Code.
SYNAPSE VERIFICATION
QUERY 1 // 3
Which built-in tool allows the Responses API to search the internet?
file_search
code_interpreter
web_search
browser