FunctionToolConfig
Defined in: src/tools/function-tool.ts:60
Configuration options for creating a FunctionTool.
Properties
Section titled “Properties”name: string;Defined in: src/tools/function-tool.ts:62
The unique name of the tool
description
Section titled “description”description: string;Defined in: src/tools/function-tool.ts:64
Human-readable description of the tool’s purpose
inputSchema?
Section titled “inputSchema?”optional inputSchema?: JSONSchema7;Defined in: src/tools/function-tool.ts:66
JSON Schema defining the expected input structure. If omitted, defaults to an empty object schema.
callback
Section titled “callback”callback: FunctionToolCallback;Defined in: src/tools/function-tool.ts:68
Function that implements the tool logic