A tool that is available to the language model via {@link LanguageModelChatRequestOptions}. A language model uses all the properties of this interface to decide which tool to call, and how to call it.

Fields

name:String

The name of the tool.

inputSchema:{}

A JSON schema for the input this tool accepts.

description:String

The description of the tool.