McpToolDefinition
Defined in: types.ts:52
App-authored (composite/task-level) tool, e.g. chaining two service calls.
Properties
Section titled “Properties”description
Section titled “description”description:
string
Defined in: types.ts:55
handler
Section titled “handler”handler: (
args,ctx) =>Promise<unknown>
Defined in: types.ts:58
Parameters
Section titled “Parameters”unknown
Returns
Section titled “Returns”Promise<unknown>
inputSchema
Section titled “inputSchema”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.