when:
  path: /v1beta/models/gemini-2.5-flash:generateContent
  method: POST
  query_param:
  - name: key
    value: '[REDACTED]'
  header:
  - name: accept
    value: '*/*'
  - name: content-type
    value: application/json
  body: '{"contents":[{"parts":[{"text":"Echo the word ''lantern''.","thought":false}],"role":"user"}],"generationConfig":null,"safetySettings":null,"systemInstruction":{"parts":[{"text":"You must use the echo tool, then report its output exactly.","thought":false}],"role":"model"},"toolConfig":null,"tools":[{"codeExecution":null,"functionDeclarations":[{"description":"Echo the provided text back to the caller.","name":"echo","parameters":{"properties":{"text":{"description":"Text to echo","type":"string"}},"required":["text"],"type":"object"}}]}]}'
then:
  status: 200
  header:
  - name: content-type
    value: application/json; charset=UTF-8
  body: '{"candidates":[{"content":{"parts":[{"functionCall":{"args":{"text":"lantern"},"name":"echo"},"thoughtSignature":"signature_REDACTED_1"}],"role":"model"},"finishMessage":"Model generated function call(s).","finishReason":"STOP","index":0}],"modelVersion":"gemini-2.5-flash","responseId":"id_REDACTED_1","usageMetadata":{"candidatesTokenCount":13,"promptTokenCount":62,"promptTokensDetails":[{"modality":"TEXT","tokenCount":62}],"serviceTier":"standard","thoughtsTokenCount":40,"totalTokenCount":115}}'
---
when:
  path: /v1beta/models/gemini-2.5-flash:generateContent
  method: POST
  query_param:
  - name: key
    value: '[REDACTED]'
  header:
  - name: accept
    value: '*/*'
  - name: content-type
    value: application/json
  body: '{"contents":[{"parts":[{"text":"Echo the word ''lantern''.","thought":false}],"role":"user"},{"parts":[{"functionCall":{"args":{"text":"lantern"},"name":"echo"},"thought":false,"thoughtSignature":"signature_REDACTED_1"}],"role":"model"},{"parts":[{"functionResponse":{"name":"echo","response":{"result":"modern:lantern"}},"thought":false}],"role":"user"}],"generationConfig":null,"safetySettings":null,"systemInstruction":{"parts":[{"text":"You must use the echo tool, then report its output exactly.","thought":false}],"role":"model"},"toolConfig":null,"tools":[{"codeExecution":null,"functionDeclarations":[{"description":"Echo the provided text back to the caller.","name":"echo","parameters":{"properties":{"text":{"description":"Text to echo","type":"string"}},"required":["text"],"type":"object"}}]}]}'
then:
  status: 200
  header:
  - name: content-type
    value: application/json; charset=UTF-8
  body: '{"candidates":[{"content":{"parts":[{"text":"modern:lantern"}],"role":"model"},"finishReason":"STOP","index":0}],"modelVersion":"gemini-2.5-flash","responseId":"id_REDACTED_2","usageMetadata":{"candidatesTokenCount":3,"promptTokenCount":90,"promptTokensDetails":[{"modality":"TEXT","tokenCount":90}],"serviceTier":"standard","totalTokenCount":93}}'
