hostedMcpTool
function hostedMcpTool<Context>(options): HostedMCPTool<Context>;
Creates a hosted MCP tool definition.
Type Parameters
Section titled “Type Parameters”Type Parameter | Default type |
---|---|
|
|
Parameters
Section titled “Parameters”Parameter | Type |
---|---|
|
|
Returns
Section titled “Returns”HostedMCPTool
<Context
>