LanguageModelToolInformation

Information about a registered tool available in lm.tools.

Online Documentation

Properties

Link copied to clipboard
abstract val description: String

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

Link copied to clipboard
abstract val inputSchema: JsAny?

A JSON schema for the input this tool accepts.

Link copied to clipboard
abstract val name: String

A unique name for the tool.

Link copied to clipboard
abstract val tags: ReadonlyArray<JsString>

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.