ResponsesRequestToolUnion - Python SDK

ResponsesRequestToolUnion method reference

The Python SDK and docs are currently in beta. Report issues on GitHub.

Supported Types

components.ResponsesRequestToolFunction

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

components.PreviewWebSearchServerTool

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

components.Preview20250311WebSearchServerTool

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

components.LegacyWebSearchServerTool

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

components.WebSearchServerTool

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

components.FileSearchServerTool

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

components.ComputerUseServerTool

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

components.CodeInterpreterServerTool

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

components.McpServerTool

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

components.ImageGenerationServerTool

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

components.CodexLocalShellTool

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

components.ShellServerTool

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

components.ApplyPatchServerTool

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

components.CustomTool

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

components.DatetimeServerTool

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

components.WebSearchServerToolOpenRouter

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