FunctionToolConfig
Defined in: src/tools/function-tool.ts:51
Configuration options for creating a FunctionTool.
Properties
Section titled “Properties”name: string;Defined in: src/tools/function-tool.ts:53
The unique name of the tool
description
Section titled “description”description: string;Defined in: src/tools/function-tool.ts:55
Human-readable description of the tool’s purpose
inputSchema?
Section titled “inputSchema?”optional inputSchema: JSONSchema7;Defined in: src/tools/function-tool.ts:57
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:59
Function that implements the tool logic