llm-simple-0.4.3.0: test/fixtures/gemini-tool-use.json
{
"candidates": [
{
"content": {
"parts": [
{
"functionCall": {
"name": "get_weather",
"args": { "location": "London" }
}
}
],
"role": "model"
},
"finishReason": "STOP"
}
],
"usageMetadata": {
"promptTokenCount": 40,
"candidatesTokenCount": 12,
"totalTokenCount": 52
}
}