LanguageModelToolCallPart

A language model response part indicating a tool call, returned from a LanguageModelChatResponse, and also can be included as a content part on a LanguageModelChatMessage, to represent a previous tool call in a chat request.

Online Documentation

Constructors

Link copied to clipboard
constructor(callId: String, name: String, input: JsAny)

Create a new LanguageModelToolCallPart.

Properties

Link copied to clipboard

The ID of the tool call. This is a unique identifier for the tool call within the chat request.

Link copied to clipboard

The input with which to call the tool.

Link copied to clipboard

The name of the tool to call.