ADK for TypeScript: API Reference
    Preparing search index...

    Interface WebMCPToolParams

    Parameters for WebMCPTool.

    interface WebMCPToolParams {
        document?: WebMCPDocument;
        name?: string;
        tool: WebMCPRegisteredTool;
    }

    Properties

    document?: WebMCPDocument

    Document to read modelContext from. Defaults to the global document.

    name?: string

    Overrides the name exposed to the model, which the toolset uses to apply its prefix. Defaults to the tool's own name.

    The tool as reported by document.modelContext.getTools().