From 7dd62640a35cb03f20e109c89618412115cc8626 Mon Sep 17 00:00:00 2001 From: muhammadhamidrazasidtechno Date: Thu, 21 Aug 2025 11:29:21 +0500 Subject: [PATCH 1/2] Update tools.md --- docs/tools.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/docs/tools.md b/docs/tools.md index 38199c581..4b474d0e7 100644 --- a/docs/tools.md +++ b/docs/tools.md @@ -10,6 +10,7 @@ Tools let agents take actions: things like fetching data, running code, calling OpenAI offers a few built-in tools when using the [`OpenAIResponsesModel`][agents.models.openai_responses.OpenAIResponsesModel]: +<<<<<<< Updated upstream - The [`WebSearchTool`][agents.tool.WebSearchTool] lets an agent search the web. - The [`FileSearchTool`][agents.tool.FileSearchTool] allows retrieving information from your OpenAI Vector Stores. - The [`ComputerTool`][agents.tool.ComputerTool] allows automating computer use tasks. @@ -17,6 +18,16 @@ OpenAI offers a few built-in tools when using the [`OpenAIResponsesModel`][agent - The [`HostedMCPTool`][agents.tool.HostedMCPTool] exposes a remote MCP server's tools to the model. - The [`ImageGenerationTool`][agents.tool.ImageGenerationTool] generates images from a prompt. - The [`LocalShellTool`][agents.tool.LocalShellTool] runs shell commands on your machine. +======= +- The [`WebSearchTool`][agents.tool.WebSearchTool] lets an agent search the web for real-time information. +- The [`FileSearchTool`][agents.tool.FileSearchTool] allows retrieving information from your OpenAI Vector Stores or uploaded files. +- The [`ComputerTool`][agents.tool.ComputerTool] enables automating computer tasks programmatically. +- The [`CodeInterpreterTool`][agents.tool.CodeInterpreterTool] lets the LLM execute code safely in a sandboxed environment. +- The [`HostedMCPTool`][agents.tool.HostedMCPTool] exposes a remote MCP server's tools to the agent. +- The [`ImageGenerationTool`][agents.tool.ImageGenerationTool] generates images from text prompts using a hosted service. +- The [`LocalShellTool`][agents.tool.LocalShellTool] allows running shell commands on your **local machine**. + +>>>>>>> Stashed changes ```python from agents import Agent, FileSearchTool, Runner, WebSearchTool From fdee50859cf811ad0945e26d41c963d3ab42f825 Mon Sep 17 00:00:00 2001 From: muhammadhamidrazasidtechno Date: Thu, 21 Aug 2025 11:31:16 +0500 Subject: [PATCH 2/2] Update tools.md --- docs/tools.md | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/docs/tools.md b/docs/tools.md index 4b474d0e7..7edd85936 100644 --- a/docs/tools.md +++ b/docs/tools.md @@ -10,25 +10,14 @@ Tools let agents take actions: things like fetching data, running code, calling OpenAI offers a few built-in tools when using the [`OpenAIResponsesModel`][agents.models.openai_responses.OpenAIResponsesModel]: -<<<<<<< Updated upstream - The [`WebSearchTool`][agents.tool.WebSearchTool] lets an agent search the web. - The [`FileSearchTool`][agents.tool.FileSearchTool] allows retrieving information from your OpenAI Vector Stores. - The [`ComputerTool`][agents.tool.ComputerTool] allows automating computer use tasks. - The [`CodeInterpreterTool`][agents.tool.CodeInterpreterTool] lets the LLM execute code in a sandboxed environment. - The [`HostedMCPTool`][agents.tool.HostedMCPTool] exposes a remote MCP server's tools to the model. - The [`ImageGenerationTool`][agents.tool.ImageGenerationTool] generates images from a prompt. -- The [`LocalShellTool`][agents.tool.LocalShellTool] runs shell commands on your machine. -======= -- The [`WebSearchTool`][agents.tool.WebSearchTool] lets an agent search the web for real-time information. -- The [`FileSearchTool`][agents.tool.FileSearchTool] allows retrieving information from your OpenAI Vector Stores or uploaded files. -- The [`ComputerTool`][agents.tool.ComputerTool] enables automating computer tasks programmatically. -- The [`CodeInterpreterTool`][agents.tool.CodeInterpreterTool] lets the LLM execute code safely in a sandboxed environment. -- The [`HostedMCPTool`][agents.tool.HostedMCPTool] exposes a remote MCP server's tools to the agent. -- The [`ImageGenerationTool`][agents.tool.ImageGenerationTool] generates images from text prompts using a hosted service. - The [`LocalShellTool`][agents.tool.LocalShellTool] allows running shell commands on your **local machine**. ->>>>>>> Stashed changes - ```python from agents import Agent, FileSearchTool, Runner, WebSearchTool