HostedMCPTool
type HostedMCPTool<Context> = HostedTool & object;
A hosted MCP tool that lets the model call a remote MCP server directly without a round trip back to your code.
Type declaration
Section titled “Type declaration”name: "hosted_mcp";
providerData
Section titled “providerData”providerData: ProviderData.HostedMCPTool<Context>;
Type Parameters
Section titled “Type Parameters”Type Parameter | Default type |
---|---|
|