Skip to content

McpToolDefinition

Defined in: types.ts:52

App-authored (composite/task-level) tool, e.g. chaining two service calls.

description: string

Defined in: types.ts:55


handler: (args, ctx) => Promise<unknown>

Defined in: types.ts:58

unknown

McpToolContext

Promise<unknown>


inputSchema: unknown

Defined in: types.ts:57

JSON Schema for the tool arguments (a TypeBox object schema works as-is).


name: string

Defined in: types.ts:54

Tool name. Colliding with a generated tool name (or another custom tool) throws BadRequest.