GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • ADK for TypeScript: API Reference

This view

  • Original page
  • New address

GeezerVison is showing adk.dev — WebMCPToolsetOptions | ADK for TypeScript: API Reference - v2.5.0

  • WebMCPToolsetOptions

Interface WebMCPToolsetOptions

Options for WebMCPToolset.

interface WebMCPToolsetOptions {
    document?: WebMCPDocument;
    fromOrigins?: string[];
    prefix?: string;
    toolFilter?:
        | string[]
        | ((tool: BaseTool, readonlyContext?: ReadonlyContext) => boolean);
}
  • Defined in core/src/tools/webmcp/webmcp_toolset.ts:16

Properties

Optionaldocument

document?: WebMCPDocument

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

  • Defined in core/src/tools/webmcp/webmcp_toolset.ts:28

OptionalfromOrigins

fromOrigins?: string[]

Secure origins to also collect tools from, for cross-origin iframes. A cross-origin tool is only returned if its page also exposed it to this origin via exposedTo.

  • Defined in core/src/tools/webmcp/webmcp_toolset.ts:26

Optionalprefix

prefix?: string

Prefixes every discovered tool name with ${prefix}_.

  • Defined in core/src/tools/webmcp/webmcp_toolset.ts:20

OptionaltoolFilter

toolFilter?:
    | string[]
    | ((tool: BaseTool, readonlyContext?: ReadonlyContext) => boolean)

Restricts which tools reach the model, by name or predicate.

  • Defined in core/src/tools/webmcp/webmcp_toolset.ts:18
Properties
documentfromOriginsprefixtoolFilter
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.