Skip to content

Instance

Defined in: index.ts:25

Property Type Description Defined in
ready Promise<Registration> Resolves when registration settles; says which API was used. index.ts:33
source ContentAdapter The content source in use. index.ts:31
tools ToolDefinition[] The tool definitions (instrumented). Usable without WebMCP: await instance.call('search_posts', {query}). index.ts:27
call(name, input?): Promise<unknown>;

Defined in: index.ts:29

Calls a tool by (prefixed) name, exactly as an agent would.

Parameter Type
name string
input? Record<string, unknown>

Promise<unknown>


destroy(): void;

Defined in: index.ts:35

Unregisters every tool.

void