Skip to content

@graphty/graphty-element / ai / ToolDefinition

Interface: ToolDefinition ​

Defined in: graphty-element/src/ai/providers/types.ts:32

Defines a tool that can be called by the LLM.

Properties ​

description ​

description: string

Defined in: graphty-element/src/ai/providers/types.ts:36

Description of what the tool does


name ​

name: string

Defined in: graphty-element/src/ai/providers/types.ts:34

Name of the tool


parameters ​

parameters: ZodType

Defined in: graphty-element/src/ai/providers/types.ts:38

Zod schema defining the parameters