openai · OpenAI Platform Docs
Using tools
Explains how to extend model capabilities by integrating built-in tools, custom function calling, tool search, and remote MCP servers via the API or Agents SDK.
Derived skill
Files assembled from official documentation
Viewing SKILL.md
Using tools
Explains how to extend model capabilities by integrating built-in tools, custom function calling, tool search, and remote MCP servers via the API or Agents SDK.
When To Use
Use when you need to implement agentic workflows that require web search, file retrieval, custom function execution, or remote MCP server integration.
Reference Files
| File | Contains | Use For |
|---|---|---|
SKILL.md | Entry point: scope, routing table, and workflow. | Start here. |
docs/using-tools-workflow-guide.md | An overview of available tools in the OpenAI platform including custom code execution, internet access, and usage across the API and Agents SDK. | Questions about an overview of available tools in the OpenAI platform including custom code execution, internet access, and usage acr... |
examples/using-tools-openai-platform-python-tools-usage.python | A Python script demonstrating how to initialize an OpenAI client and pass tool definitions like filesearch to a model request. | Exact payloads, commands, or snippets shown in A Python script demonstrating how to initialize an OpenAI client and pass tool definitions like filesearch to a model... |
examples/using-tools-openai-platform-tools.javascript | A JavaScript code example demonstrating how to implement tool calling using the OpenAI client library. | Exact payloads, commands, or snippets shown in A JavaScript code example demonstrating how to implement tool calling using the OpenAI client library. |
examples/using-tools-openai-platform-docs-using-tools.csharp | A C# code example demonstrating how to initialize an OpenAIResponseClient and add a file search tool to the response creation options. | Exact payloads, commands, or snippets shown in A C# code example demonstrating how to initialize an OpenAIResponseClient and add a file search tool to the response... |
examples/using-tools-openai-api-tools-curl-request.bash | A curl command demonstrating how to send a request to the OpenAI API using the tools parameter. | Exact payloads, commands, or snippets shown in A curl command demonstrating how to send a request to the OpenAI API using the tools parameter. |
examples/using-tools-openai-tools-javascript-mcp-implementation.javascript | A JavaScript example demonstrating how to use the OpenAI client to call a Model Context Protocol (MCP) server for dice rolling. | Exact payloads, commands, or snippets shown in A JavaScript example demonstrating how to use the OpenAI client to call a Model Context Protocol (MCP) server for dic... |
examples/using-tools-openai-tools-python-mcp-server-integration.python | A Python script demonstrating how to use the OpenAI client to call a Model Context Protocol (MCP) server for dice rolling. | Exact payloads, commands, or snippets shown in A Python script demonstrating how to use the OpenAI client to call a Model Context Protocol (MCP) server for dice rol... |
examples/using-tools-openai-tools-mcp.csharp | A C# code example demonstrating how to use Model Context Protocol (MCP) tools with the OpenAI client. | Exact payloads, commands, or snippets shown in A C# code example demonstrating how to use Model Context Protocol (MCP) tools with the OpenAI client. |
examples/using-tools-openai-platform-docs-using-tools.typescript | A TypeScript code example demonstrating how to define and implement a weather tool using the @openai/agents library. | Exact payloads, commands, or snippets shown in A TypeScript code example demonstrating how to define and implement a weather tool using the @openai/agents library. |
examples/using-tools-openai-tools-python-function-tool.python | A Python code example demonstrating how to define a tool using the function_tool decorator for OpenAI tool calling. | Exact payloads, commands, or snippets shown in A Python code example demonstrating how to define a tool using the functiontool decorator for OpenAI tool calling. |
examples/using-tools-openai-agents-typescript-tool-usage.typescript | A TypeScript example demonstrating how to define an agent and assign another agent as a tool using the @openai/agents library. | Exact payloads, commands, or snippets shown in A TypeScript example demonstrating how to define an agent and assign another agent as a tool using the @openai/agents... |
examples/using-tools-openai-platform-docs-using-tools-python-agent-implementation.python | A Python code example demonstrating how to define an agent with a summarizer tool using the agents library. | Exact payloads, commands, or snippets shown in A Python code example demonstrating how to define an agent with a summarizer tool using the agents library. |
What This Skill Covers
- Here's an overview of the tools available in the OpenAI platform—select one of them for further guidance on usage.
- Main sections:
Available tools,Usage in the API,Usage in the Agents SDK.
Workflow
- Open the most relevant file under
docs/for the exact documented workflow and wording. - Open
schemas/files for exact structured contracts. - Open
examples/files for concrete requests, commands, snippets, and manifests. - Do not add behavior or configuration that is not present in the attached source files.
Canonical source: https://developers.openai.com/api/docs/guides/tools.md
