{
  "scope": "Application-level create() arguments and scripted fixture responses, not HTTP captures; supplementary replay only",
  "chat": {
    "request_1": {
      "model": "gpt-4o-2024-08-06",
      "messages": [
        {
          "role": "user",
          "content": "Compare the mock observations for Beijing and Shanghai in degrees Celsius."
        }
      ],
      "tools": [
        {
          "type": "function",
          "function": {
            "name": "get_weather",
            "description": "Read a fixed teaching observation in Celsius.",
            "parameters": {
              "type": "object",
              "properties": {
                "city": {
                  "type": "string",
                  "enum": [
                    "Beijing",
                    "Shanghai"
                  ]
                }
              },
              "required": [
                "city"
              ],
              "additionalProperties": false
            },
            "strict": true
          }
        }
      ],
      "parallel_tool_calls": true,
      "tool_choice": "auto"
    },
    "response_1": {
      "id": "chatcmpl_fixture_0",
      "object": "chat.completion",
      "created": 0,
      "model": "gpt-4o-2024-08-06",
      "choices": [
        {
          "index": 0,
          "finish_reason": "tool_calls",
          "message": {
            "role": "assistant",
            "content": null,
            "tool_calls": [
              {
                "id": "call_chat_0_0",
                "type": "function",
                "function": {
                  "name": "get_weather",
                  "arguments": "{\"city\":\"Beijing\"}"
                }
              },
              {
                "id": "call_chat_0_1",
                "type": "function",
                "function": {
                  "name": "get_weather",
                  "arguments": "{\"city\":\"Shanghai\"}"
                }
              }
            ]
          }
        }
      ]
    },
    "request_2": {
      "model": "gpt-4o-2024-08-06",
      "messages": [
        {
          "role": "user",
          "content": "Compare the mock observations for Beijing and Shanghai in degrees Celsius."
        },
        {
          "role": "assistant",
          "tool_calls": [
            {
              "id": "call_chat_0_0",
              "type": "function",
              "function": {
                "name": "get_weather",
                "arguments": "{\"city\":\"Beijing\"}"
              }
            },
            {
              "id": "call_chat_0_1",
              "type": "function",
              "function": {
                "name": "get_weather",
                "arguments": "{\"city\":\"Shanghai\"}"
              }
            }
          ]
        },
        {
          "role": "tool",
          "tool_call_id": "call_chat_0_0",
          "content": "{\"city\":\"Beijing\",\"temperature\":21,\"unit\":\"C\"}"
        },
        {
          "role": "tool",
          "tool_call_id": "call_chat_0_1",
          "content": "{\"city\":\"Shanghai\",\"temperature\":26,\"unit\":\"C\"}"
        }
      ],
      "tools": [
        {
          "type": "function",
          "function": {
            "name": "get_weather",
            "description": "Read a fixed teaching observation in Celsius.",
            "parameters": {
              "type": "object",
              "properties": {
                "city": {
                  "type": "string",
                  "enum": [
                    "Beijing",
                    "Shanghai"
                  ]
                }
              },
              "required": [
                "city"
              ],
              "additionalProperties": false
            },
            "strict": true
          }
        }
      ],
      "parallel_tool_calls": true,
      "tool_choice": "auto"
    },
    "response_2": {
      "id": "chatcmpl_fixture_1",
      "object": "chat.completion",
      "created": 0,
      "model": "gpt-4o-2024-08-06",
      "choices": [
        {
          "index": 0,
          "finish_reason": "stop",
          "message": {
            "role": "assistant",
            "content": "Beijing: 21 C. Shanghai: 26 C."
          }
        }
      ]
    }
  },
  "responses": {
    "request_1": {
      "model": "gpt-4o-2024-08-06",
      "input": [
        {
          "role": "user",
          "content": "Compare the mock observations for Beijing and Shanghai in degrees Celsius."
        }
      ],
      "tools": [
        {
          "type": "function",
          "name": "get_weather",
          "description": "Read a fixed teaching observation in Celsius.",
          "parameters": {
            "type": "object",
            "properties": {
              "city": {
                "type": "string",
                "enum": [
                  "Beijing",
                  "Shanghai"
                ]
              }
            },
            "required": [
              "city"
            ],
            "additionalProperties": false
          },
          "strict": true
        }
      ],
      "store": false,
      "parallel_tool_calls": true,
      "tool_choice": "auto"
    },
    "response_1": {
      "id": "resp_fixture_0",
      "object": "response",
      "created_at": 0,
      "model": "gpt-4o-2024-08-06",
      "instructions": null,
      "status": "completed",
      "incomplete_details": null,
      "output": [
        {
          "id": "fc_fixture_0_0",
          "call_id": "call_responses_0_0",
          "type": "function_call",
          "name": "get_weather",
          "arguments": "{\"city\":\"Beijing\"}",
          "status": "completed"
        },
        {
          "id": "fc_fixture_0_1",
          "call_id": "call_responses_0_1",
          "type": "function_call",
          "name": "get_weather",
          "arguments": "{\"city\":\"Shanghai\"}",
          "status": "completed"
        }
      ],
      "parallel_tool_calls": true,
      "tool_choice": "auto",
      "tools": [
        {
          "type": "function",
          "name": "get_weather",
          "description": "Read a fixed teaching observation in Celsius.",
          "parameters": {
            "type": "object",
            "properties": {
              "city": {
                "type": "string",
                "enum": [
                  "Beijing",
                  "Shanghai"
                ]
              }
            },
            "required": [
              "city"
            ],
            "additionalProperties": false
          },
          "strict": true
        }
      ]
    },
    "request_2": {
      "model": "gpt-4o-2024-08-06",
      "input": [
        {
          "role": "user",
          "content": "Compare the mock observations for Beijing and Shanghai in degrees Celsius."
        },
        {
          "id": "fc_fixture_0_0",
          "call_id": "call_responses_0_0",
          "type": "function_call",
          "name": "get_weather",
          "arguments": "{\"city\":\"Beijing\"}",
          "status": "completed"
        },
        {
          "id": "fc_fixture_0_1",
          "call_id": "call_responses_0_1",
          "type": "function_call",
          "name": "get_weather",
          "arguments": "{\"city\":\"Shanghai\"}",
          "status": "completed"
        },
        {
          "type": "function_call_output",
          "call_id": "call_responses_0_0",
          "output": "{\"city\":\"Beijing\",\"temperature\":21,\"unit\":\"C\"}"
        },
        {
          "type": "function_call_output",
          "call_id": "call_responses_0_1",
          "output": "{\"city\":\"Shanghai\",\"temperature\":26,\"unit\":\"C\"}"
        }
      ],
      "tools": [
        {
          "type": "function",
          "name": "get_weather",
          "description": "Read a fixed teaching observation in Celsius.",
          "parameters": {
            "type": "object",
            "properties": {
              "city": {
                "type": "string",
                "enum": [
                  "Beijing",
                  "Shanghai"
                ]
              }
            },
            "required": [
              "city"
            ],
            "additionalProperties": false
          },
          "strict": true
        }
      ],
      "store": false,
      "parallel_tool_calls": true,
      "tool_choice": "auto"
    },
    "response_2": {
      "id": "resp_fixture_1",
      "object": "response",
      "created_at": 0,
      "model": "gpt-4o-2024-08-06",
      "instructions": null,
      "status": "completed",
      "incomplete_details": null,
      "output": [
        {
          "type": "message",
          "id": "msg_fixture_1",
          "role": "assistant",
          "status": "completed",
          "content": [
            {
              "type": "output_text",
              "text": "Beijing: 21 C. Shanghai: 26 C.",
              "annotations": []
            }
          ]
        }
      ],
      "parallel_tool_calls": true,
      "tool_choice": "auto",
      "tools": [
        {
          "type": "function",
          "name": "get_weather",
          "description": "Read a fixed teaching observation in Celsius.",
          "parameters": {
            "type": "object",
            "properties": {
              "city": {
                "type": "string",
                "enum": [
                  "Beijing",
                  "Shanghai"
                ]
              }
            },
            "required": [
              "city"
            ],
            "additionalProperties": false
          },
          "strict": true
        }
      ]
    }
  }
}
