Skip to main content
The Python SDK and docs are currently in beta. Report issues on GitHub.

Supported Types

components.ResponsesRequestToolFunction

value: components.ResponsesRequestToolFunction = /* values here */

components.PreviewWebSearchServerTool

value: components.PreviewWebSearchServerTool = /* values here */

components.Preview20250311WebSearchServerTool

value: components.Preview20250311WebSearchServerTool = /* values here */

components.LegacyWebSearchServerTool

value: components.LegacyWebSearchServerTool = /* values here */

components.WebSearchServerTool

value: components.WebSearchServerTool = /* values here */

components.FileSearchServerTool

value: components.FileSearchServerTool = /* values here */

components.ComputerUseServerTool

value: components.ComputerUseServerTool = /* values here */

components.CodeInterpreterServerTool

value: components.CodeInterpreterServerTool = /* values here */

components.McpServerTool

value: components.McpServerTool = /* values here */

components.ImageGenerationServerTool

value: components.ImageGenerationServerTool = /* values here */

components.CodexLocalShellTool

value: components.CodexLocalShellTool = /* values here */

components.ShellServerTool

value: components.ShellServerTool = /* values here */

components.ApplyPatchServerTool

value: components.ApplyPatchServerTool = /* values here */

components.CustomTool

value: components.CustomTool = /* values here */

components.DatetimeServerTool

value: components.DatetimeServerTool = /* values here */

components.FusionServerToolOpenRouter

value: components.FusionServerToolOpenRouter = /* values here */

components.ImageGenerationServerToolOpenRouter

value: components.ImageGenerationServerToolOpenRouter = /* values here */

components.ChatSearchModelsServerTool

value: components.ChatSearchModelsServerTool = /* values here */

components.WebFetchServerTool

value: components.WebFetchServerTool = /* values here */

components.WebSearchServerToolOpenRouter

value: components.WebSearchServerToolOpenRouter = /* values here */

components.ApplyPatchServerToolOpenRouter

value: components.ApplyPatchServerToolOpenRouter = /* values here */