Tool call request from the server in Live API sessions.
Request for the client to execute the function calls and return the responses with matching IDs.
Fields
function_calls- List of function calls to be executed
Example
%ToolCall{
function_calls: [
%{
"id" => "call_123",
"name" => "get_weather",
"args" => %{"location" => "Seattle"}
}
]
}
Summary
Types
@type t() :: %Gemini.Types.Live.ToolCall{function_calls: [function_call()] | nil}