interactions:
- request:
    body: |-
      {
        "messages": [
          {
            "role": "user",
            "content": [
              {
                "text": "Use the get_cities_list tool to provide exactly 10 popular tourist cities in Japan. Call the tool with a cities array containing: Tokyo, Osaka, Kyoto, Hiroshima, Nara, Yokohama, Sapporo, Fukuoka, Sendai, and Nagoya"
              }
            ]
          }
        ],
        "toolConfig": {
          "tools": [
            {
              "toolSpec": {
                "name": "get_cities_list",
                "description": "Get a list of cities",
                "inputSchema": {
                  "json": {
                    "type": "object",
                    "properties": {
                      "cities": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        }
                      }
                    }
                  }
                }
              }
            }
          ]
        }
      }
    headers:
      Content-Length:
      - '501'
      Content-Type:
      - application/json
      User-Agent:
      - Boto3/1.35.56 md/Botocore#1.35.56 ua/2.0 os/linux#6.5.0-1027-oem md/arch#x86_64
        lang/python#3.12.10 md/pyimpl#CPython cfg/retry-mode#legacy Botocore/1.35.56
      X-Amz-Date:
      - 20250527T075740Z
      X-Amz-Security-Token:
      - test_aws_security_token
      X-Amzn-Trace-Id:
      - Root=1-40fd504e-0a7f9803ae9c68171acef129;Parent=d9ac04fb6d83d92e;Sampled=1
      amz-sdk-invocation-id:
      - 17b1bf3e-ee7d-40e8-864d-44f347daef4c
      amz-sdk-request:
      - attempt=1
      authorization:
      - Bearer test_aws_authorization
    method: POST
    uri: https://bedrock-runtime.us-east-1.amazonaws.com/model/anthropic.claude-3-sonnet-20240229-v1%3A0/converse-stream
  response:
    body:
      string: !!binary |
[encoded data, 7379 characters]
    headers:
      Connection:
      - keep-alive
      Content-Type:
      - application/vnd.amazon.eventstream
      Date:
      - Tue, 27 May 2025 07:57:40 GMT
      Set-Cookie: test_set_cookie
      Transfer-Encoding:
      - chunked
      x-amzn-RequestId:
      - ec25d949-bde0-4ed6-9fd5-4fe595818b33
    status:
      code: 200
      message: OK
- request:
    body: |-
      {
        "messages": [
          {
            "role": "user",
            "content": [
              {
                "text": "Use the get_cities_list tool to provide exactly 10 popular tourist cities in Japan. Call the tool with a cities array containing: Tokyo, Osaka, Kyoto, Hiroshima, Nara, Yokohama, Sapporo, Fukuoka, Sendai, and Nagoya"
              }
            ]
          },
          {
            "content": [
              {
                "toolUse": {
                  "toolUseId": "tooluse_FQQ2AuomSWSry_S27YpRbA",
                  "name": "get_cities_list",
                  "input": {
                    "cities": [
                      "Tokyo",
                      "Osaka",
                      "Kyoto",
                      "Hiroshima",
                      "Nara",
                      "Yokohama",
                      "Sapporo",
                      "Fukuoka",
                      "Sendai",
                      "Nagoya"
                    ]
                  }
                }
              }
            ],
            "role": "assistant"
          },
          {
            "role": "user",
            "content": [
              {
                "toolResult": {
                  "content": [
                    {
                      "json": {
                        "weather": "50 degrees and raining"
                      }
                    }
                  ],
                  "toolUseId": "tooluse_FQQ2AuomSWSry_S27YpRbA"
                }
              }
            ]
          }
        ],
        "toolConfig": {
          "tools": [
            {
              "toolSpec": {
                "name": "get_cities_list",
                "description": "Get a list of cities",
                "inputSchema": {
                  "json": {
                    "type": "object",
                    "properties": {
                      "cities": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        }
                      }
                    }
                  }
                }
              }
            }
          ]
        }
      }
    headers:
      Content-Length:
      - '909'
      Content-Type:
      - application/json
      User-Agent:
      - Boto3/1.35.56 md/Botocore#1.35.56 ua/2.0 os/linux#6.5.0-1027-oem md/arch#x86_64
        lang/python#3.12.10 md/pyimpl#CPython cfg/retry-mode#legacy Botocore/1.35.56
      X-Amz-Date:
      - 20250527T075743Z
      X-Amz-Security-Token:
      - test_aws_security_token
      X-Amzn-Trace-Id:
      - Root=1-7ab9a0ae-91ddf412dcd8f99f70e7ddb4;Parent=b30d0a82216082c0;Sampled=1
      amz-sdk-invocation-id:
      - 89524564-fea4-4b45-bc04-4ad904a7daa8
      amz-sdk-request:
      - attempt=1
      authorization:
      - Bearer test_aws_authorization
    method: POST
    uri: https://bedrock-runtime.us-east-1.amazonaws.com/model/anthropic.claude-3-sonnet-20240229-v1%3A0/converse-stream
  response:
    body:
      string: !!binary |
[encoded data, 17154 characters]
    headers:
      Connection:
      - keep-alive
      Content-Type:
      - application/vnd.amazon.eventstream
      Date:
      - Tue, 27 May 2025 07:57:43 GMT
      Set-Cookie: test_set_cookie
      Transfer-Encoding:
      - chunked
      x-amzn-RequestId:
      - 5d12cdb0-59b9-493a-b41d-4d236934f15d
    status:
      code: 200
      message: OK
version: 1
