ToolCall
class ToolCall(val id: String, val name: String, val input: JsonElement) : BedrockAnthropicInvokeModelContent(source)
Represents a tool call instruction which is part of the model invocation content.
This class is designed to capture the details of a tool usage scenario during the communication or execution process. A ToolCall includes an identifier, the name of the tool being invoked, and the specific input provided to the tool in the form of JSON objects.
The class is serializable using kotlinx.serialization and uses a custom serial name tool_use
.