json_schema: {
    "properties": {
      "base": {
        "description": "The base of the triangle",
        "type": "number"
      },
      "height": {
        "description": "The height of the triangle",
        "type": "number"
      },
      "length": {
        "description": "The length of the rectangle",
        "type": "number"
      },
      "shape": {
        "description": "The shape for which to calculate the area",
        "enum": [
          "square",
          "rectangle",
          "triangle"
        ],
        "type": "string"
      },
      "side_length": {
        "description": "The side length of the square",
        "type": "number"
      },
      "width": {
        "description": "The width of the rectangle",
        "type": "number"
      }
    },
    "required": [
      "shape"
    ],
    "type": "object"
  }