{
  "examples": [
    {
      "name": "Double a rectangular-pan recipe and create its shopping list",
      "calls": [
        {
          "name": "everyday_calculate",
          "arguments": {
            "request": {
              "action": "calculate",
              "calculator": "cooking.pan_scale",
              "parameters": {
                "oldPan": { "shape": "rectangle", "length": 20, "width": 20, "depth": 5, "quantity": 1 },
                "newPan": { "shape": "rectangle", "length": 20, "width": 20, "depth": 5, "quantity": 2 },
                "dimensionUnit": "cm"
              }
            }
          }
        },
        {
          "name": "everyday_calculate",
          "arguments": {
            "request": {
              "action": "recipe_scale",
              "fromServings": "4",
              "toServings": "8",
              "ingredients": [
                { "name": "flour", "quantity": "2", "unit": "US_cup", "note": "sifted" },
                { "name": "salt", "quantity": "1", "unit": "US_tsp" },
                { "name": "egg", "quantity": "2", "unit": "count" }
              ],
              "instructions": "Bake at 350°F until a tester comes out clean. Check doneness rather than multiplying the original bake time."
            }
          }
        },
        {
          "name": "everyday_calculate",
          "arguments": {
            "request": {
              "action": "shopping_merge",
              "ingredients": [
                { "name": "flour", "quantity": "4", "unit": "US_cup", "note": "sifted" },
                { "name": "salt", "quantity": "2", "unit": "US_tsp" },
                { "name": "egg", "quantity": "4", "unit": "count" }
              ]
            }
          }
        }
      ],
      "expected": [
        { "call": 1, "path": ["result", "values", "scaleFactor"], "value": 2 },
        { "call": 2, "path": ["result", "scaleFactor"], "value": "2" },
        { "call": 2, "path": ["result", "ingredients", "0", "quantity"], "value": "4" },
        { "call": 2, "path": ["result", "ingredients", "2", "quantity"], "value": "4" },
        { "call": 2, "path": ["result", "instructions"], "value": "Bake at 350°F until a tester comes out clean. Check doneness rather than multiplying the original bake time." },
        { "call": 3, "path": ["result", "items", "0", "quantity"], "value": "4" },
        { "call": 3, "path": ["result", "items", "2", "unit"], "value": "count" }
      ]
    }
  ]
}
