{
  "slug": "luhn-validate",
  "name": "gizza-ai/luhn-validate",
  "version": "0.1.0",
  "title": "Luhn Validator — Check a Card / IMEI Number — gizza.ai",
  "description": "Validate a credit card, IMEI, or any number against the Luhn check-digit algorithm — instantly, in your browser. Nothing is uploaded, free.",
  "tags": [
    "luhn",
    "credit card validator",
    "imei check",
    "checksum",
    "card number validator",
    "mod 10"
  ],
  "category": "data",
  "urls": {
    "page": "https://gizza.ai/tools/luhn-validate/",
    "markdown": "https://gizza.ai/tools/luhn-validate/index.md",
    "descriptor": "https://gizza.ai/tools/luhn-validate/tool.json",
    "deep_link_example": "https://gizza.ai/tools/luhn-validate/?number=4242%204242%204242%204242"
  },
  "cli": "gizza tool luhn-validate \"4242 4242 4242 4242\"",
  "tool": {
    "description": "Validate a number against the Luhn (mod-10) check-digit algorithm — used by credit/debit cards, IMEI numbers, and many ID schemes. Spaces and dashes are ignored. Returns whether it's valid, the cleaned digits and length, the check digit that would make it valid (to spot a typo or generate one), and a best-effort payment-card brand.",
    "parameters": {
      "additionalProperties": false,
      "properties": {
        "number": {
          "description": "The number to validate (credit card, IMEI, etc.). Spaces and dashes are ignored.",
          "type": "string"
        }
      },
      "required": [
        "number"
      ],
      "type": "object"
    }
  }
}