Human-readable description for the LLM to understand when to use this tool
The function that executes this tool
JSON Schema defining the expected input arguments
Unique tool name (must be valid for LLM function calling: alphanumeric + underscores)
OptionalOutputOptional JSON Schema for the output (informational, not enforced)
A tool that the controller LLM can invoke during execution.
Generics preserve type safety:
Default generics use
Record<string, unknown>andunknown(the widest safe types in TypeScript — NOTany).