HostedTool
type HostedTool = object;
A built-in hosted tool that will be executed directly by the model during the request and won’t result in local code executions.
Examples of these are web_search_call
or file_search_call
.
The context of the tool
The result of the tool
Properties
Section titled “Properties”name: string;
A unique name for the tool.
providerData?
Section titled “providerData?”optional providerData: Record<string, any>;
Additional configuration data that gets passed to the tool
type: "hosted_tool";