/** * Tool interface exposed to the model. `parameters` defines LLM arguments, not the HTTP request shape. */ export interface LlmToolFunction { /** Function name visible to the model. Used as the REST tool index key (ASCII case-insensitive). */ name: string; /** Function description visible to the model. */ description?: string; /** JSON Schema defining the LLM tool-call arguments (`args`). Must be an object schema with `type: object` and `properties`. */ parameters: LlmToolFunction.Parameters; /** Accepts any additional properties */ [key: string]: any; } export declare namespace LlmToolFunction { /** * JSON Schema defining the LLM tool-call arguments (`args`). Must be an object schema with `type: object` and `properties`. */ interface Parameters { /** JSON Schema type. Must be `object`. */ type: "object"; /** Argument property definitions keyed by argument name. */ properties: Record; /** List of required argument names. */ required?: string[]; /** Accepts any additional properties */ [key: string]: any; } }