{
  "model_name": "advanced-message-queue-during-tools",
  "turns": [
    {
      "user_input": "Echo hello for me",
      "steps": [
        {
          "request_hint": { "last_user_message_contains": "Echo hello" },
          "response": {
            "type": "tool_calls",
            "tool_calls": [
              {
                "id": "call_echo_setup",
                "name": "echo",
                "arguments": { "message": "hello" }
              }
            ],
            "input_tokens": 80,
            "output_tokens": 20
          }
        },
        {
          "response": {
            "type": "text",
            "content": "I echoed hello for you. The tool returned: hello",
            "input_tokens": 120,
            "output_tokens": 25
          }
        }
      ],
      "expects": {
        "tools_used": ["echo"],
        "all_tools_succeeded": true,
        "response_contains": ["hello"]
      }
    },
    {
      "user_input": "Now echo world and check the time",
      "steps": [
        {
          "request_hint": { "last_user_message_contains": "echo world" },
          "response": {
            "type": "tool_calls",
            "tool_calls": [
              {
                "id": "call_echo_main",
                "name": "echo",
                "arguments": { "message": "world" }
              }
            ],
            "input_tokens": 160,
            "output_tokens": 20
          }
        },
        {
          "response": {
            "type": "tool_calls",
            "tool_calls": [
              {
                "id": "call_time_main",
                "name": "time",
                "arguments": {}
              }
            ],
            "input_tokens": 200,
            "output_tokens": 15
          }
        },
        {
          "response": {
            "type": "text",
            "content": "Done! I echoed world and checked the time for you.",
            "input_tokens": 250,
            "output_tokens": 20
          }
        }
      ],
      "expects": {
        "tools_used": ["echo", "time"],
        "all_tools_succeeded": true
      }
    },
    {
      "user_input": "What is 2+2?",
      "steps": [
        {
          "response": {
            "type": "text",
            "content": "2+2 equals 4.",
            "input_tokens": 80,
            "output_tokens": 10
          }
        }
      ],
      "expects": {
        "response_contains": ["4"]
      }
    }
  ],
  "expects": {
    "tools_used": ["echo", "time"],
    "min_responses": 3
  }
}
