ChatGPT · Schema
ResponseTool
AgentsAIChatGPTEmbeddingsFine-TuningGPT-4GPT-5Language ModelOpenAIRealtime
Properties
| Name | Type | Description |
|---|---|---|
| type | string | The type of the tool. |
| name | string | The name of the function. Required for function type tools. |
| description | string | A description of what the function does. |
| parameters | object | The parameters the function accepts, described as a JSON Schema object. Required for function type tools. |
| strict | boolean | Whether strict schema adherence is enabled for function tools. |
| vector_store_ids | array | The IDs of the vector stores to search. Required for file_search type tools. |
| max_num_results | integer | The maximum number of results to return from file search. |
| ranking_options | object | Ranking options for file search results. |
| container | object | The container for the code interpreter tool. Specifies the sandbox environment. |
| display_width | integer | The width of the computer display in pixels. Required for computer_use_preview type. |
| display_height | integer | The height of the computer display in pixels. Required for computer_use_preview type. |
| environment | string | The environment of the computer. Required for computer_use_preview type. |
| server_label | string | A label for the MCP server. Required for mcp type tools. |
| server_url | string | The URL of the MCP server. Required for mcp type tools. |
| allowed_tools | array | The list of allowed tool names from the MCP server. |
| headers | object | Headers to pass to the MCP server for authentication. |