OptionalargsOptional. The tool call arguments. Example: {"arg1" : "value1", "arg2" : "value2" , ...}
OptionalidOptional. Unique identifier of the tool call. The server returns the tool response with the matching id.
OptionaltoolOptional. The name of the tool that was called. This field is not supported in Vertex AI.
OptionaltoolOptional. The type of tool that was called.
A predicted server-side
ToolCallreturned from the model. This message contains information about a tool that the model wants to invoke. The client is NOT expected to execute thisToolCall. Instead, the client should pass thisToolCallback to the API in a subsequent turn within aContentmessage, along with the correspondingToolResponse.