{
  "name": "TilePro Calculator",
  "description": "Calculates how many tiles a surface needs — tiles across, tiles down, total, total with a waste allowance and area covered — from surface and tile dimensions.",
  "version": "1.0.0",
  "supportedInterfaces": [
    {
      "url": "https://tileprocalculator.com/api/a2a",
      "protocolBinding": "JSONRPC",
      "protocolVersion": "1.0"
    }
  ],
  "provider": {
    "organization": "TilePro Calculator",
    "url": "https://tileprocalculator.com"
  },
  "capabilities": {
    "streaming": false,
    "pushNotifications": false
  },
  "defaultInputModes": [
    "application/json",
    "text/plain"
  ],
  "defaultOutputModes": [
    "application/json",
    "text/plain"
  ],
  "skills": [
    {
      "id": "tile-layout-calculator",
      "name": "Calculate tile layout",
      "description": "Send a message with a `data` part (or a `text` part holding the same JSON) with areaWidth, areaHeight, tileWidth and tileHeight (required, > 0), plus optional areaUnit and tileUnit (mm, cm, in, ft or m; default in), groutWidth (tileUnit, default 0) and wastePercentage (0-100, default 10). The reply carries a `data` part with tilesAcross, tilesDown, totalTiles, tilesWithWaste, wastePercentage, surfaceAreaSqFt and purchasedAreaSqFt.",
      "tags": [
        "tiles",
        "flooring",
        "calculator",
        "renovation",
        "estimate"
      ],
      "examples": [
        "{\"areaWidth\": 120, \"areaHeight\": 96, \"areaUnit\": \"in\", \"tileWidth\": 12, \"tileHeight\": 12, \"tileUnit\": \"in\"}",
        "{\"areaWidth\": 10, \"areaHeight\": 8, \"areaUnit\": \"ft\", \"tileWidth\": 30, \"tileHeight\": 30, \"tileUnit\": \"cm\", \"wastePercentage\": 15}"
      ],
      "inputModes": [
        "application/json",
        "text/plain"
      ],
      "outputModes": [
        "application/json",
        "text/plain"
      ]
    }
  ]
}