{
  "sku": "grid-distance-calculator",
  "kind": "tool",
  "name": "Grid distance calculator",
  "description": "Calculate Manhattan, diagonal, and Euclidean distance on a grid.",
  "price_cents": 1,
  "price_usd": "0.01",
  "unit": "per calculation",
  "license": "Calculation output may be used in games and commercial projects.",
  "delivery": "instant",
  "input_schema": {
    "type": "object",
    "properties": {
      "x1": {
        "type": "number",
        "default": 1
      },
      "y1": {
        "type": "number",
        "default": 2
      },
      "x2": {
        "type": "number",
        "default": 8
      },
      "y2": {
        "type": "number",
        "default": 10
      }
    }
  },
  "details_url": "https://market.datapackvibe.com/services/grid-distance-calculator",
  "x402_url": "https://market.datapackvibe.com/x402/grid-distance-calculator"
}