A language model response part indicating a tool call, returned from a {@link LanguageModelChatResponse}, and also can be included as a content part on a {@link LanguageModelChatMessage}, to represent a previous tool call in a chat request.
Constructor
new(callId:String, name:String, input:{})
Create a new LanguageModelToolCallPart.
Parameters:
callId | The ID of the tool call. |
---|---|
name | The name of the tool to call. |
input | The input with which to call the tool. |