---
version: 2
interactions:
- id: 0
  request:
    proto: HTTP/1.1
    proto_major: 1
    proto_minor: 1
    content_length: 826
    host: us-east5-aiplatform.googleapis.com
    body: |
      {"contents":[{"parts":[{"text":"Add and multiply the number 2 and 3"}],"role":"user"}],"generationConfig":{"maxOutputTokens":4000},"systemInstruction":{"parts":[{"text":"You are a helpful assistant. CRITICAL: Always use both add and multiply at the same time ALWAYS."}],"role":"user"},"toolConfig":{"functionCallingConfig":{"mode":"AUTO"}},"tools":[{"functionDeclarations":[{"description":"Add two numbers","name":"add","parameters":{"properties":{"a":{"description":"first number","type":"INTEGER"},"b":{"description":"second number","type":"INTEGER"}},"required":["a","b"],"type":"OBJECT"}},{"description":"Multiply two numbers","name":"multiply","parameters":{"properties":{"a":{"description":"first number","type":"INTEGER"},"b":{"description":"second number","type":"INTEGER"}},"required":["a","b"],"type":"OBJECT"}}]}]}
    headers:
      Content-Type:
      - application/json
      User-Agent:
      - google-genai-sdk/1.29.0 gl-go/go1.25.1
    url: https://us-east5-aiplatform.googleapis.com/v1beta1/projects/fantasy-playground-472418/locations/us-east5/publishers/google/models/gemini-2.5-pro:generateContent
    method: POST
  response:
    proto: HTTP/2.0
    proto_major: 2
    proto_minor: 0
    content_length: -1
    uncompressed: true
    body: |
      {
        "candidates": [
          {
            "content": {
              "role": "model",
              "parts": [
                {
                  "functionCall": {
                    "name": "add",
                    "args": {
                      "a": 2,
                      "b": 3
                    }
                  },
                  "thoughtSignature": "CvIGAePx/14SkHhFE9nSX3tF/UUvEyMSIydpEPiedFizUyl12h1UWiXnKK/2KRCeTzCPnlf63nU3gkBYSR4VK3AcDgWD2P8wffTD09sY4ofwSBsb6ryX7/h66mtf0s/K+AVm9bT7/u4vT2nBrghELUoq+Oc1xbYXUfbS61L17gseMmc5mxrjJTwqWrV1oc0XkyzBad6LEDp8rZBuQP7yj4mGeaJyY6SchHJBKPfPVK1tweHnkrvxLpLlDzyNL0iYeYhKXtsdeCa94KlMpH/yU9FoGemcSUHH4gaOoDBPP3E70eHCi/bgLvd9ktEaY7Mvv/GD167aEpuWN+hyXgKvRAQLcuuXVrH9I+nDEaZ9H9jVTvZjMnGT8GrooMWBvOrVp9gDPZBT+qXqAfh+v8VK2olKLy8wpc+y1SNUEJpC3HmlAkLLwFlT6CpG7qYvYX4fios1YYlnNMAI5m/GRGgy8uvxNLQtTXckzduT5uB2LtMyymbhNohbP16yveBu7SZcWHxyC6SjQuB9ztNY1t9dvXJmBxrj/jNZ9t1s5BtAX9WmRnIvyRA9ZnyxEtqvRuT1yxmfSN0JCTtrnAuZxm+tm3PfSXeXtQuaAqY7sZ8SSkzfxf51H8FjymvZzVTr4CmPHZlxqouLD0WUrvR4m+f1QWhENMvMfes0N+9PCwUmjr7sdfcwMlKXppLAhZu3i5sXb8NrOyP/IaQh1Z45De1Q1RIGRJjb7SXOaZza39jbunGVX2GneRoFG0cYbOTwFiDHJ/m9+zN2aXBDmOkPuhBVP35Gq4W6RyQmaFLfrNhV6hQTKLRr3Cqc83V1UxjdR096ZPKlyhgZ2Jm6J+nKiMYlBmPssUJONHRvfHlFNPCUlyDXezzslqfAmuhabeQAVrwk7BhWkluO8DpjWyr7fy+qdW+j2Q50d8CIFOZS+vH4BnmGEKUBDq/6LlEGpLHMrQ6p9domxkFWCUzh0AkeNASc/RXqsi3tGbkWlw8dTaCIEnxdTOeKjrggttp/Bj7rIbHMJIMwhJn0l5gV22eUuv2fmtJhZr2pzOi8RWPI+SRPiIz8WXeLFheeZCJc2WYzAF+Hf7P4vZREZu9T+Cyiiqa8aZV41vE/w73R1Jyi0Na08pwZUbEyxZzkCAeT9FykRHe/NPSVpSflslaarfMgPMfEPg+9cib+"
                },
                {
                  "functionCall": {
                    "name": "multiply",
                    "args": {
                      "b": 3,
                      "a": 2
                    }
                  }
                }
              ]
            },
            "finishReason": "STOP",
            "avgLogprobs": -0.68308839797973631
          }
        ],
        "usageMetadata": {
          "promptTokenCount": 60,
          "candidatesTokenCount": 10,
          "totalTokenCount": 300,
          "trafficType": "ON_DEMAND",
          "promptTokensDetails": [
            {
              "modality": "TEXT",
              "tokenCount": 60
            }
          ],
          "candidatesTokensDetails": [
            {
              "modality": "TEXT",
              "tokenCount": 10
            }
          ],
          "thoughtsTokenCount": 230
        },
        "modelVersion": "gemini-2.5-pro",
        "createTime": "2025-10-23T06:56:55.716370Z",
        "responseId": "t9H5aNLcK6ryptQP-_6vMQ"
      }
    headers:
      Content-Type:
      - application/json; charset=UTF-8
    status: 200 OK
    code: 200
    duration: 4.090130167s
- id: 1
  request:
    proto: HTTP/1.1
    proto_major: 1
    proto_minor: 1
    content_length: 1155
    host: us-east5-aiplatform.googleapis.com
    body: |
      {"contents":[{"parts":[{"text":"Add and multiply the number 2 and 3"}],"role":"user"},{"parts":[{"functionCall":{"args":{"a":2,"b":3},"id":"1","name":"add"}},{"functionCall":{"args":{"a":2,"b":3},"id":"2","name":"multiply"}}],"role":"model"},{"parts":[{"functionResponse":{"id":"1","name":"add","response":{"result":"5"}}},{"functionResponse":{"id":"2","name":"multiply","response":{"result":"6"}}}],"role":"user"}],"generationConfig":{"maxOutputTokens":4000},"systemInstruction":{"parts":[{"text":"You are a helpful assistant. CRITICAL: Always use both add and multiply at the same time ALWAYS."}],"role":"user"},"toolConfig":{"functionCallingConfig":{"mode":"AUTO"}},"tools":[{"functionDeclarations":[{"description":"Add two numbers","name":"add","parameters":{"properties":{"a":{"description":"first number","type":"INTEGER"},"b":{"description":"second number","type":"INTEGER"}},"required":["a","b"],"type":"OBJECT"}},{"description":"Multiply two numbers","name":"multiply","parameters":{"properties":{"a":{"description":"first number","type":"INTEGER"},"b":{"description":"second number","type":"INTEGER"}},"required":["a","b"],"type":"OBJECT"}}]}]}
    headers:
      Content-Type:
      - application/json
      User-Agent:
      - google-genai-sdk/1.29.0 gl-go/go1.25.1
    url: https://us-east5-aiplatform.googleapis.com/v1beta1/projects/fantasy-playground-472418/locations/us-east5/publishers/google/models/gemini-2.5-pro:generateContent
    method: POST
  response:
    proto: HTTP/2.0
    proto_major: 2
    proto_minor: 0
    content_length: -1
    uncompressed: true
    body: |
      {
        "candidates": [
          {
            "content": {
              "role": "model",
              "parts": [
                {
                  "text": "The sum of 2 and 3 is 5, and the product is 6.",
                  "thoughtSignature": "CtsIAePx/154bFPH9VHqinXcUV/n+fOBQz6u2MwnVRN+B0rYpcxkRaES1pXRfXkG2PomQeDzSqc4MXjv7eDsfJksXytwk8qxnvcGnkB/BkRXTKTNuageqAfft5yp+Jag2TDHqIUS8vthxuzFZf59t1TuTdB2NfOv3Of1DU6i7fafJ12ZWFq0PQJVtscAKYIDx3NhoAE7Q+vyGEQAKSDYKU3qxgvMXNE478pLsDr2nr6PpWva+uzFUQMlqUT4ye87x+WVkZ8nvYv4wwDwh+jfDbYH0xng6C5Um1BF27IY9H3PxV9BP46Og76rP62TsoLk4sl/vGYaz84XLu1Rg9WcO+Bc5RxEl5HLpPO7pxp5Nu1DR5aT199QYqb1vuMcaR3mLoHTPEHWpkL4lQivbwWJOPWXGxO8DLTmsrO9d3G1xidSavJ5x4JM980KIHMUvhAwNI3J3PnPWG1W66o8FTOEcNkdCv5uGFlYJVRxUpFy9EuQTytduTBdni2MNkRDlcwZTXZ+hTdH28Kfrs+VpXusYk4I4pLYS6f2JX2cCWWSE1o8rzZWqNOQpR/aKmxS2w1fV98OVSFyoF9ixedITXCBgWPigt1PsrXCsBaZAZLDQmJ3SxosPYAHvCuwfxA5VicxYdXCFga/So8pSqlDkv+48UNegPPC4FW5h9TBW7ejN/lNj0/6OfENpJQfHC7Rz+3GvU+OZiPKUL3JL1ayDot+aWsTZsM/PH/6ieO0EvSeW4FAyYML5Nux0VXnyIyvuRn66OBCbCkwZFOn+7nBzpmqi1LO0goAJJ6/hVyEtxtvTEDS/9C+d6KNamEQ+MC3Sao2OL8Ml+2LgvemMznqCOPoo/yO0hD3UVIhSyT4yI8HpBVbYtv+ikKK7+iVKGNYE74BDfeLUzWKm3eEnxPlfASiCtzF3oHtgoPn/cDQO4RW1uKUY8gKTtTLlhixk3Uk+0FkelkN0poolzVuunRpmY18UvpUytIZo8jIFj9hwnXIINPWSXU7lndZqgkdWhak3emm1lqmKHBBCXawd3wTO3YIQPhzPvTJZAcRQwMaaI2U/xgzdIN4bcYEeGPSj/+H0+m2ogW+BA6PF+nBp5vgH5naPsQJzuaRMnHx9axZRL9aeJvQXr9qF8XWCtAX1dTeA56UDyJNceML7wFPh5UxNEAAIrFZcLNuGh4L4XY9J9T0gtX45rWXHBV+qFvODJZ8V8eNI/oB6kKf1H+aw+P15nrg1Whn+8seKpherWhmmFTT+nozfz56slDbZ0vMCoLvXn8WDcsq/2Cn5/NC0ayoxznzXGBeN7oSgL5OEmt9ZIWOjmQ0h1j49Bmnovf+i4jPNfsNRxSWY0XntMmrH/X+4kUypK+AxHUn83+2wYsU06zNlgnViMuR2W3Qu6lvtFFVBSj/k34XMfsYx/p6bqN4NPtgB/rhYvb6EkHx4Z2LBFFF+R+dVl6pK5jsaP66vX8i6imoAjzUpzpZYLZcJCTjDLY="
                }
              ]
            },
            "finishReason": "STOP",
            "avgLogprobs": -1.6167781227513363
          }
        ],
        "usageMetadata": {
          "promptTokenCount": 76,
          "candidatesTokenCount": 19,
          "totalTokenCount": 396,
          "trafficType": "ON_DEMAND",
          "promptTokensDetails": [
            {
              "modality": "TEXT",
              "tokenCount": 76
            }
          ],
          "candidatesTokensDetails": [
            {
              "modality": "TEXT",
              "tokenCount": 19
            }
          ],
          "thoughtsTokenCount": 301
        },
        "modelVersion": "gemini-2.5-pro",
        "createTime": "2025-10-23T06:56:59.999110Z",
        "responseId": "u9H5aMb9PKD5ptQPsI7YiQ0"
      }
    headers:
      Content-Type:
      - application/json; charset=UTF-8
    status: 200 OK
    code: 200
    duration: 5.075507708s
