[ ABORT TO HUD ]
SEQ. 1
SEQ. 2
SEQ. 3

Built-in Tools & Agentic Loops

🚀 The Responses API 15 min 250 BASE XP

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

ToolWhat It DoesUse Case
web_searchSearches the internet for real-time informationCurrent events, live data, fact-checking
file_searchSearches your uploaded Vector StoresRAG over internal documents
code_interpreterExecutes Python in a sandboxData analysis, chart generation, math
computer_useControls a virtual desktop via screenshotsBrowser automation, legacy app interaction
mcpConnects to external MCP serversEnterprise integrations, databases, APIs
image_generationCreates images via GPT Image 2Design, 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:

  1. Call web_search to find pricing data
  2. Call code_interpreter to build a matplotlib chart
  3. Return the chart image + text analysis
const response = await openai.responses.create({
  model: "gpt-5.4",
  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: "gpt-5.4",
  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 GPT-5.4 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
Watch: 139x Rust Speedup
Built-in Tools & Agentic Loops | The Responses API — OpenAI Academy