{
  "id": "cb_04",
  "slug": "websearch_calc_multiturn",
  "category": "combined",
  "system": "You are a helpful assistant with access to tools.",
  "messages": [
    {
      "role": "user",
      "content": "현재 USD/KRW 환율을 검색하고, RTX 5090이 미국에서 2,000달러라면 한국에서 부가세(10%) 포함 구매 시 원화 최종 가격을 계산해줘."
    }
  ],
  "tools": [
    {
      "type": "function",
      "function": {
        "name": "websearch",
        "description": "Search the web for information and return a list of relevant results.",
        "parameters": {
          "type": "object",
          "properties": {
            "query": {
              "type": "string",
              "description": "Search query string"
            }
          },
          "required": [
            "query"
          ]
        }
      }
    },
    {
      "type": "function",
      "function": {
        "name": "webfetch",
        "description": "Fetch the content of a web page or URL and return its text.",
        "parameters": {
          "type": "object",
          "properties": {
            "url": {
              "type": "string",
              "description": "Full URL to fetch"
            },
            "extract": {
              "type": "string",
              "description": "Optional: specific section to extract"
            }
          },
          "required": [
            "url"
          ]
        }
      }
    },
    {
      "type": "function",
      "function": {
        "name": "calculate",
        "description": "Evaluate a mathematical expression and return the numeric result.",
        "parameters": {
          "type": "object",
          "properties": {
            "expression": {
              "type": "string",
              "description": "Math expression, e.g. '72 * 2'"
            }
          },
          "required": [
            "expression"
          ]
        }
      }
    },
    {
      "type": "function",
      "function": {
        "name": "create_calendar_event",
        "description": "Create a calendar event.",
        "parameters": {
          "type": "object",
          "properties": {
            "title": {
              "type": "string"
            },
            "date": {
              "type": "string",
              "description": "ISO 8601 date, e.g. 2026-04-20"
            },
            "duration_hours": {
              "type": "number"
            }
          },
          "required": [
            "title",
            "date"
          ]
        }
      }
    }
  ],
  "generation_config": {
    "temperature": 0,
    "max_tokens": 512
  },
  "grading": {
    "no_tool_expected": false,
    "expected_tool_call": "websearch",
    "alternative_tool_calls": [],
    "expected_args_must_contain": [
      "query"
    ],
    "multi_turn": true,
    "tool_response_mock": {
      "websearch": "USD/KRW exchange rate: 1 USD = 1,380 KRW (April 14, 2026)"
    }
  },
  "quality_checkpoint": "websearch → 2000×1380=2,760,000원 → ×1.1=3,036,000원"
}