LanguageModelToolResultPart

The result of a tool call. This is the counterpart of a tool call and it can only be included in the content of a User message

Online Documentation

Constructors

Link copied to clipboard
constructor(callId: String, content: ReadonlyArray<ERROR CLASS: Symbol not found for JsAny>)

Properties

Link copied to clipboard

The ID of the tool call.

Link copied to clipboard
var content: ReadonlyArray<ERROR CLASS: Symbol not found for JsAny>

The value of the tool result.