Interface LanguageModelToolInformation

Information about a registered tool available in lm.tools.

Stubbed

interface LanguageModelToolInformation {
    description: string;
    inputSchema: undefined | object;
    name: string;
    tags: readonly string[];
}

Properties

description: string

A description of this tool that may be passed to a language model.

inputSchema: undefined | object

A JSON schema for the input this tool accepts.

name: string

A unique name for the tool.

tags: readonly string[]

A set of tags, declared by the tool, that roughly describe the tool's capabilities. A tool user may use these to filter the set of tools to just ones that are relevant for the task at hand.