{
  "slug": "redact-pii",
  "name": "gizza-ai/redact-pii",
  "version": "0.1.0",
  "title": "Redact PII — Mask emails, phones, IPs, cards, SSNs — gizza.ai",
  "description": "Detect and redact PII (emails, phone numbers, IPs, credit-card and SSN numbers) in text, in your browser. Nothing is uploaded.",
  "tags": [
    "redact pii",
    "mask pii",
    "remove personal data",
    "anonymize text",
    "scrub",
    "privacy"
  ],
  "category": "security",
  "urls": {
    "page": "https://gizza.ai/tools/redact-pii/",
    "markdown": "https://gizza.ai/tools/redact-pii/index.md",
    "descriptor": "https://gizza.ai/tools/redact-pii/tool.json",
    "deep_link_example": "https://gizza.ai/tools/redact-pii/?text=Paste%20text%20containing%20emails%2C%20phone%20numbers%2C%20IPs%2C%20card%20or%20SSN%20numbers%E2%80%A6&style=label"
  },
  "cli": "gizza tool redact-pii \"Paste text containing emails, phone numbers, IPs, card or SSN numbers…\"",
  "tool": {
    "description": "Detect and redact personally-identifiable information (PII) in a block of text: email addresses, phone numbers, IPv4/IPv6 addresses, credit-card numbers (Luhn-validated to avoid false positives) and US SSN-like numbers. style=label (default) replaces each value with a typed token like [EMAIL]; style=mask replaces every character with '*'. Returns the redacted text plus per-category counts. Runs locally — the text never leaves the device.",
    "parameters": {
      "additionalProperties": false,
      "properties": {
        "style": {
          "default": "label",
          "description": "How to replace detected values: label (default) inserts a typed token like [EMAIL]; mask replaces each character with '*'.",
          "enum": [
            "label",
            "mask"
          ],
          "type": "string"
        },
        "text": {
          "description": "The text to scan and redact.",
          "type": "string"
        }
      },
      "required": [
        "text"
      ],
      "type": "object"
    }
  }
}