Skip to content

Interface: AgentTool

Defined in: agent-tools.ts:37

Properties

description

description: string

Defined in: agent-tools.ts:39


inputSchema?

optional inputSchema?: Record<string, unknown>

Defined in: agent-tools.ts:47

Optional real JSON Schema for the arguments (draft 2020-12 object schema). When present it is the source of truth the channel forwards as an MCP tool definition; params remains the cheap inline documentation.


name

name: string

Defined in: agent-tools.ts:38


params?

optional params?: Record<string, string>

Defined in: agent-tools.ts:41

Human/agent-readable parameter description, WebMCP-style (loose schema).


run

run: (args?) => unknown

Defined in: agent-tools.ts:48

Parameters

args?

Record<string, unknown>

Returns

unknown