Interface: ToolSpec
Tool schema for prompt generation — describes a tool the LLM can use via Query()/Mutation(). Shape inspired by MCP's tool schema (name, description, inputSchema, annotations).
Properties
annotations?
optionalannotations?:object
destructiveHint?
optionaldestructiveHint?:boolean
readOnlyHint?
optionalreadOnlyHint?:boolean
description?
optionaldescription?:string
inputSchema
inputSchema:
Record<string,unknown>
name
name:
string
outputSchema
outputSchema:
Record<string,unknown>