---
version: 2
interactions:
- id: 0
  request:
    proto: HTTP/1.1
    proto_major: 1
    proto_minor: 1
    content_length: 809
    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. Always use both add and multiply at the same time."}],"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"}}]}]}
    form:
      alt:
      - sse
    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:streamGenerateContent?alt=sse
    method: POST
  response:
    proto: HTTP/2.0
    proto_major: 2
    proto_minor: 0
    content_length: -1
    body: "data: {\"candidates\": [{\"content\": {\"role\": \"model\",\"parts\": [{\"functionCall\": {\"name\": \"add\",\"args\": {\"a\": 2,\"b\": 3}},\"thoughtSignature\": \"CiQB4/H/XgQAcXu85WneoGBRKOpeHj0vTklm62USpUddzxZPPLoKXgHj8f9eRUdyVNG1O8Vp4mjOWASvJe/hnO2R7E419QoQB9wL0mqpFa3bC0Ms9zWWHp7S4un46VSIbmd3W/jopqwPDev4hQxsMvhlwbPNZ5eF5bIIKKaOMVv5vcmvFWoKawHj8f9eUrqUzNrwVAJzpRGt+Z7cav1doL0DCW59c06QmgXdcDmTdIX436bdU8yG/Jn8gLfaA7mAOKR+C40/rsjaXpkN+SsQZfL/PU7UCCQvFX+utGUqBwDMGskTfSRZvvQjQTiGldElpP4oCocBAePx/17J+F3vQacIiy1DFbbLNVOstVJEBAnO5z+pniBktLDZOKW1n/8llyTjgSfu9p5t+AzitLEsdb4gdDs5kzRFeglMheIcyLq3+jeOkBklhYkg30b0XZ42c+NUKPj3MN7OkhIyGiYHS5QfLsnXKEeN/h/+EixGq3iKoFMWZDuAsBewbIBDCqgBAePx/17PxUt1XslgsF3qwthx62owqkHzGOYLYy07mGOcXLsFhsu0SxNowKP8X9BFHpfPy7f/5/TPzKS4EDRiwVQeNcW7ngB726QS54Kmlp1wVc0fozejv2CiMCGSPkCFX2CSKrWpb6WY25FbJC7G/6TpC7bg9Hl6sswf/UGlx1/bYoFs0qsMjuPJawOLEaV/5i8SiqXoNvwwqdI/9CoAkt0vMpTabUx8CtgBAePx/14VIfF1svGPHCOsnNOiECbcYfyXvW0hH2myrxAihs8wh++yOaa5Qd16rJyOmVsALu0utjvJuJbDbauY0WOVPGrvHvvAqNSX7CImrlPXjo+uM9TJRlnfk4fS+LgHjEm/3WevSgNALvQSVNwxR9OFqHzGrclY1dyQX1KopfO+Np+Q6lq0UWQrrXTx5iSdScz6mqfNeGT8Htcti/L8t/y1//TS6GAONi71KIr3sHuWYGjFQKAVf9EsKowOANdJcmqiWCp9+aFzpX+DRA1t0A+Y/5YylAQXCkIB4/H/Xt4MOLiYgKHOwz8wYMLC1aWabrDS13VEoVz8mGPnvpbFsEvshPcb0GZS1e1fcIkvgaLBhcFRDYwBFlxBQL0=\"},{\"functionCall\": {\"name\": \"multiply\",\"args\": {\"a\": 2,\"b\": 3}}}]},\"finishReason\": \"STOP\"}],\"usageMetadata\": {\"promptTokenCount\": 57,\"candidatesTokenCount\": 10,\"totalTokenCount\": 236,\"trafficType\": \"ON_DEMAND\",\"promptTokensDetails\": [{\"modality\": \"TEXT\",\"tokenCount\": 57}],\"candidatesTokensDetails\": [{\"modality\": \"TEXT\",\"tokenCount\": 10}],\"thoughtsTokenCount\": 169},\"modelVersion\": \"gemini-2.5-pro\",\"createTime\": \"2025-10-23T06:57:05.167720Z\",\"responseId\": \"wdH5aKieCrHEptQP-Ob28Ak\"}\r\n\r\n"
    headers:
      Content-Type:
      - text/event-stream
    status: 200 OK
    code: 200
    duration: 3.020269292s
- id: 1
  request:
    proto: HTTP/1.1
    proto_major: 1
    proto_minor: 1
    content_length: 1138
    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. Always use both add and multiply at the same time."}],"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"}}]}]}
    form:
      alt:
      - sse
    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:streamGenerateContent?alt=sse
    method: POST
  response:
    proto: HTTP/2.0
    proto_major: 2
    proto_minor: 0
    content_length: -1
    body: "data: {\"candidates\": [{\"content\": {\"role\": \"model\",\"parts\": [{\"text\": \"The sum of 2 and 3 is 5, and the product is 6.\",\"thoughtSignature\": \"CiIB4/H/X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hYAldyMFZU/UlXV/kAsdxkVL4NxUg1cplYKd94mRN85ACsEjDWLTkrgSmt3NO1dq6A2FwT0tVly0/fdZO+DrZ3Qrn4Kgv8dIe6PQXOWieiVazxs7eBEtD9ZX2Os7cj2Jmnd9QO2hv1Z7IVCUxWKeU5wf4RTl5JiRn1athzRVpsgfAHfOkdWsaKwqpAQHj8f9edkr6y9NB31IBu8UqU83M/ssH3yqoluC+iJrP19OkZIGVRiDliKBFCW5z2wRhoj9OnqrtfeiIAchcZNfUBWxALRIZotgiemozDTl9lHY7r/wst5tnlrMoNCGhjxLIJ8AbFwtCpED/OaMxisop8QTnRftghOJsDJ8rqprgpOOHq82buKUoVqO8ie2vcxkyW++/VjEOnselrYAHjqA9HR2ZPSH7SSc=\"}]},\"finishReason\": \"STOP\"}],\"usageMetadata\": {\"promptTokenCount\": 73,\"candidatesTokenCount\": 19,\"totalTokenCount\": 328,\"trafficType\": \"ON_DEMAND\",\"promptTokensDetails\": [{\"modality\": \"TEXT\",\"tokenCount\": 73}],\"candidatesTokensDetails\": [{\"modality\": \"TEXT\",\"tokenCount\": 19}],\"thoughtsTokenCount\": 236},\"modelVersion\": \"gemini-2.5-pro\",\"createTime\": \"2025-10-23T06:57:08.169231Z\",\"responseId\": \"xNH5aI-qCoXwptQPy7WwqA0\"}\r\n\r\n"
    headers:
      Content-Type:
      - text/event-stream
    status: 200 OK
    code: 200
    duration: 3.008985s
