LanguageModelChatTool

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

Online Documentation

Properties

Link copied to clipboard
abstract var description: String

The description of the tool.

Link copied to clipboard
abstract var inputSchema: JsAny?

A JSON schema for the input this tool accepts.

Link copied to clipboard
abstract var name: String

The name of the tool.