{
  "name": "CodeLint.Dev Tools",
  "version": "1.0.0",
  "description": "Deterministic developer, AI-engineering and finance utilities for agents: JSON/YAML/CSV conversion and validation, encoding and hashing, date and time-zone arithmetic, cron and regex checking, subnet maths, LLM token counts, pricing and price changes, agentic-commerce checks (UCP profiles, product feeds, HTTP message signatures), and loan/investment arithmetic.",
  "documentation": "https://codelint.dev/agents",
  "openapi": "https://codelint.dev/openapi.json",
  "mcp": "https://codelint.dev/mcp",
  "tools": [
    {
      "name": "json_format",
      "title": "Format JSON",
      "category": "Data formats",
      "description": "Pretty-print a JSON document with consistent indentation, optionally sorting object keys alphabetically at every level (useful before diffing two documents). Fails with the line and column of the first syntax error if the input is not valid JSON.",
      "endpoint": "https://codelint.dev/api/v1/tools/json_format",
      "method": "POST",
      "input_schema": {
        "type": "object",
        "properties": {
          "json": {
            "type": "string",
            "description": "The JSON text to format."
          },
          "indent": {
            "type": "integer",
            "description": "Spaces per indentation level.",
            "default": 2,
            "minimum": 0,
            "maximum": 8
          },
          "sort_keys": {
            "type": "boolean",
            "description": "Sort object keys alphabetically, recursively.",
            "default": false
          }
        },
        "required": [
          "json"
        ],
        "additionalProperties": false
      },
      "example": {
        "json": "{\"b\":1,\"a\":[1,2,{\"z\":true}]}",
        "indent": 2,
        "sort_keys": true
      },
      "web_page": "https://codelint.dev/json/tools"
    },
    {
      "name": "json_validate",
      "title": "Validate JSON",
      "category": "Data formats",
      "description": "Check whether text is valid JSON (RFC 8259). Returns valid=true with the top-level type, total key count and nesting depth, or valid=false with the error message and its exact line and column. Use this to find why a payload will not parse.",
      "endpoint": "https://codelint.dev/api/v1/tools/json_validate",
      "method": "POST",
      "input_schema": {
        "type": "object",
        "properties": {
          "json": {
            "type": "string",
            "description": "The text to validate as JSON."
          }
        },
        "required": [
          "json"
        ],
        "additionalProperties": false
      },
      "example": {
        "json": "{\"name\": \"Ada\", \"tags\": [\"a\", \"b\",]}"
      },
      "web_page": "https://codelint.dev/json/tools"
    },
    {
      "name": "json_minify",
      "title": "Minify JSON",
      "category": "Data formats",
      "description": "Remove all insignificant whitespace from a JSON document, producing the smallest equivalent text. Reports the size reduction. Fails with line and column if the input is not valid JSON.",
      "endpoint": "https://codelint.dev/api/v1/tools/json_minify",
      "method": "POST",
      "input_schema": {
        "type": "object",
        "properties": {
          "json": {
            "type": "string",
            "description": "The JSON text to minify."
          }
        },
        "required": [
          "json"
        ],
        "additionalProperties": false
      },
      "example": {
        "json": "{\n  \"a\": 1,\n  \"b\": [1, 2, 3]\n}"
      },
      "web_page": "https://codelint.dev/json/minify"
    },
    {
      "name": "json_escape",
      "title": "Escape / unescape a JSON string",
      "category": "Data formats",
      "description": "Escape raw text so it can be embedded as a JSON string value (quotes, backslashes, newlines, control characters), or unescape an escaped JSON string back to raw text. The result does not include the surrounding double quotes.",
      "endpoint": "https://codelint.dev/api/v1/tools/json_escape",
      "method": "POST",
      "input_schema": {
        "type": "object",
        "properties": {
          "text": {
            "type": "string",
            "description": "The text to escape or unescape."
          },
          "mode": {
            "type": "string",
            "description": "Direction of the conversion.",
            "enum": [
              "escape",
              "unescape"
            ],
            "default": "escape"
          }
        },
        "required": [
          "text"
        ],
        "additionalProperties": false
      },
      "example": {
        "text": "He said \"hi\"\nand left.",
        "mode": "escape"
      },
      "web_page": "https://codelint.dev/json/escape"
    },
    {
      "name": "csv_to_json",
      "title": "Convert CSV to JSON",
      "category": "Data formats",
      "description": "Parse CSV text with a header row into an array of JSON objects, one per row. Handles quoted fields, embedded commas and newlines, and converts numeric and boolean cells to their JSON types.",
      "endpoint": "https://codelint.dev/api/v1/tools/csv_to_json",
      "method": "POST",
      "input_schema": {
        "type": "object",
        "properties": {
          "csv": {
            "type": "string",
            "description": "CSV text. The first row is treated as column headers."
          }
        },
        "required": [
          "csv"
        ],
        "additionalProperties": false
      },
      "example": {
        "csv": "name,age,active\nAda,36,true\nLinus,54,false"
      },
      "web_page": "https://codelint.dev/transformer/csv-json"
    },
    {
      "name": "json_to_csv",
      "title": "Convert JSON to CSV",
      "category": "Data formats",
      "description": "Convert a JSON array of flat objects into CSV text with a header row. Fields containing commas, quotes or newlines are quoted correctly.",
      "endpoint": "https://codelint.dev/api/v1/tools/json_to_csv",
      "method": "POST",
      "input_schema": {
        "type": "object",
        "properties": {
          "json": {
            "type": "string",
            "description": "A JSON array of objects, as text."
          }
        },
        "required": [
          "json"
        ],
        "additionalProperties": false
      },
      "example": {
        "json": "[{\"name\":\"Ada\",\"age\":36},{\"name\":\"Linus\",\"age\":54}]"
      },
      "web_page": "https://codelint.dev/transformer/csv-json"
    },
    {
      "name": "yaml_to_json",
      "title": "Convert YAML to JSON",
      "category": "Data formats",
      "description": "Parse a YAML document and return it as JSON. Reports the line of the first syntax error — useful for debugging indentation problems in Kubernetes manifests, CI configs and Compose files.",
      "endpoint": "https://codelint.dev/api/v1/tools/yaml_to_json",
      "method": "POST",
      "input_schema": {
        "type": "object",
        "properties": {
          "yaml": {
            "type": "string",
            "description": "The YAML text to convert."
          }
        },
        "required": [
          "yaml"
        ],
        "additionalProperties": false
      },
      "example": {
        "yaml": "server:\n  port: 8080\n  hosts:\n    - a.example.com\n    - b.example.com"
      },
      "web_page": "https://codelint.dev/transformer/json-yaml"
    },
    {
      "name": "json_to_yaml",
      "title": "Convert JSON to YAML",
      "category": "Data formats",
      "description": "Convert a JSON document to block-style YAML with 2-space indentation.",
      "endpoint": "https://codelint.dev/api/v1/tools/json_to_yaml",
      "method": "POST",
      "input_schema": {
        "type": "object",
        "properties": {
          "json": {
            "type": "string",
            "description": "The JSON text to convert."
          }
        },
        "required": [
          "json"
        ],
        "additionalProperties": false
      },
      "example": {
        "json": "{\"server\":{\"port\":8080,\"hosts\":[\"a.example.com\",\"b.example.com\"]}}"
      },
      "web_page": "https://codelint.dev/transformer/json-yaml"
    },
    {
      "name": "geojson_validate",
      "title": "Validate GeoJSON",
      "category": "Data formats",
      "description": "Validate a GeoJSON document against RFC 7946: geometry types, coordinate array shapes, longitude/latitude ranges, closed polygon rings and Feature/FeatureCollection structure. Returns every violation found.",
      "endpoint": "https://codelint.dev/api/v1/tools/geojson_validate",
      "method": "POST",
      "input_schema": {
        "type": "object",
        "properties": {
          "geojson": {
            "type": "string",
            "description": "The GeoJSON document, as JSON text."
          }
        },
        "required": [
          "geojson"
        ],
        "additionalProperties": false
      },
      "example": {
        "geojson": "{\"type\":\"Feature\",\"geometry\":{\"type\":\"Point\",\"coordinates\":[-0.1276,51.5072]},\"properties\":{\"name\":\"London\"}}"
      },
      "web_page": "https://codelint.dev/geojson/tools"
    },
    {
      "name": "format_code",
      "title": "Format SQL, CSS, HTML or XML",
      "category": "Data formats",
      "description": "Re-indent and beautify SQL, CSS, HTML or XML source. Use it to make minified or single-line code readable before reviewing or diffing it.",
      "endpoint": "https://codelint.dev/api/v1/tools/format_code",
      "method": "POST",
      "input_schema": {
        "type": "object",
        "properties": {
          "code": {
            "type": "string",
            "description": "The source text to format."
          },
          "language": {
            "type": "string",
            "description": "The language of the source.",
            "enum": [
              "sql",
              "css",
              "html",
              "xml"
            ]
          },
          "indent": {
            "type": "integer",
            "description": "Spaces per indentation level.",
            "default": 2,
            "minimum": 1,
            "maximum": 8
          }
        },
        "required": [
          "code",
          "language"
        ],
        "additionalProperties": false
      },
      "example": {
        "code": "select id,name from users where active=1 order by name",
        "language": "sql"
      },
      "web_page": "https://codelint.dev/formatter/tools"
    },
    {
      "name": "text_diff",
      "title": "Diff two texts",
      "category": "Data formats",
      "description": "Compare two texts line by line and return a unified diff plus counts of added, removed, changed and unchanged lines. Deterministic — use it instead of eyeballing whether two configs, prompts or files differ.",
      "endpoint": "https://codelint.dev/api/v1/tools/text_diff",
      "method": "POST",
      "input_schema": {
        "type": "object",
        "properties": {
          "original": {
            "type": "string",
            "description": "The original text.",
            "maxLength": 100000
          },
          "modified": {
            "type": "string",
            "description": "The modified text.",
            "maxLength": 100000
          },
          "ignore_whitespace": {
            "type": "boolean",
            "description": "Treat lines differing only in whitespace as equal.",
            "default": false
          },
          "ignore_case": {
            "type": "boolean",
            "description": "Compare case-insensitively.",
            "default": false
          },
          "context_lines": {
            "type": "integer",
            "description": "Unchanged lines of context around each change.",
            "default": 3,
            "minimum": 0,
            "maximum": 20
          }
        },
        "required": [
          "original",
          "modified"
        ],
        "additionalProperties": false
      },
      "example": {
        "original": "port: 8080\nhost: localhost\ndebug: true",
        "modified": "port: 9090\nhost: localhost\ndebug: false"
      },
      "web_page": "https://codelint.dev/developer-tools/diff-checker"
    },
    {
      "name": "base64",
      "title": "Base64 encode / decode",
      "category": "Encoding, hashing & identifiers",
      "description": "Encode UTF-8 text to Base64, or decode Base64 back to text. Supports the URL-safe alphabet (RFC 4648 §5) and tolerates missing padding when decoding. Use this rather than computing Base64 by hand, which models get wrong on anything longer than a few bytes.",
      "endpoint": "https://codelint.dev/api/v1/tools/base64",
      "method": "POST",
      "input_schema": {
        "type": "object",
        "properties": {
          "text": {
            "type": "string",
            "description": "Text to encode, or Base64 to decode."
          },
          "mode": {
            "type": "string",
            "description": "Direction of the conversion.",
            "enum": [
              "encode",
              "decode"
            ],
            "default": "encode"
          },
          "url_safe": {
            "type": "boolean",
            "description": "When encoding, use the URL-safe alphabet (- and _) without padding.",
            "default": false
          }
        },
        "required": [
          "text"
        ],
        "additionalProperties": false
      },
      "example": {
        "text": "Hello, World! 🌍",
        "mode": "encode"
      },
      "web_page": "https://codelint.dev/encoder/base64"
    },
    {
      "name": "url_encode",
      "title": "URL encode / decode",
      "category": "Encoding, hashing & identifiers",
      "description": "Percent-encode text for use in a URL, or decode a percent-encoded string. In component mode (default) every reserved character is encoded, which is what a query-string value needs; with component=false the URL structure (:/?#&=) is preserved.",
      "endpoint": "https://codelint.dev/api/v1/tools/url_encode",
      "method": "POST",
      "input_schema": {
        "type": "object",
        "properties": {
          "text": {
            "type": "string",
            "description": "Text to encode or decode."
          },
          "mode": {
            "type": "string",
            "description": "Direction of the conversion.",
            "enum": [
              "encode",
              "decode"
            ],
            "default": "encode"
          },
          "component": {
            "type": "boolean",
            "description": "Encode as a single URL component (true) or as a whole URL (false).",
            "default": true
          }
        },
        "required": [
          "text"
        ],
        "additionalProperties": false
      },
      "example": {
        "text": "q=hello world&lang=en",
        "mode": "encode"
      },
      "web_page": "https://codelint.dev/encoder/url"
    },
    {
      "name": "jwt_decode",
      "title": "Decode a JWT",
      "category": "Encoding, hashing & identifiers",
      "description": "Decode a JSON Web Token into its header and payload, and convert the iat/nbf/exp claims to ISO timestamps with an expired flag. Decoding only: the signature is NOT verified, so never treat the result as proof the token is authentic.",
      "endpoint": "https://codelint.dev/api/v1/tools/jwt_decode",
      "method": "POST",
      "input_schema": {
        "type": "object",
        "properties": {
          "token": {
            "type": "string",
            "description": "The JWT (three dot-separated Base64URL segments).",
            "maxLength": 20000
          }
        },
        "required": [
          "token"
        ],
        "additionalProperties": false
      },
      "example": {
        "token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjE5OTk5OTk5OTl9.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c"
      },
      "web_page": "https://codelint.dev/encoder/jwt"
    },
    {
      "name": "hash",
      "title": "Hash text (SHA family)",
      "category": "Encoding, hashing & identifiers",
      "description": "Compute the SHA-1, SHA-256, SHA-384 or SHA-512 digest of UTF-8 text, as hex or Base64. Use it to produce checksums, cache keys or integrity values — a model cannot compute a real hash without a tool.",
      "endpoint": "https://codelint.dev/api/v1/tools/hash",
      "method": "POST",
      "input_schema": {
        "type": "object",
        "properties": {
          "text": {
            "type": "string",
            "description": "The text to hash (hashed as UTF-8 bytes)."
          },
          "algorithm": {
            "type": "string",
            "description": "Hash algorithm.",
            "enum": [
              "SHA-1",
              "SHA-256",
              "SHA-384",
              "SHA-512"
            ],
            "default": "SHA-256"
          },
          "encoding": {
            "type": "string",
            "description": "Output encoding of the digest.",
            "enum": [
              "hex",
              "base64"
            ],
            "default": "hex"
          }
        },
        "required": [
          "text"
        ],
        "additionalProperties": false
      },
      "example": {
        "text": "hello world",
        "algorithm": "SHA-256"
      },
      "web_page": "https://codelint.dev/utility/hash-generator"
    },
    {
      "name": "number_base_convert",
      "title": "Convert between number bases",
      "category": "Encoding, hashing & identifiers",
      "description": "Convert an integer between binary, octal, decimal and hexadecimal. Arbitrary precision, so 64-bit and larger values convert exactly (no floating-point rounding).",
      "endpoint": "https://codelint.dev/api/v1/tools/number_base_convert",
      "method": "POST",
      "input_schema": {
        "type": "object",
        "properties": {
          "value": {
            "type": "string",
            "description": "The number, written in the source base. A leading \"-\" is allowed; 0x / 0b / 0o prefixes are accepted.",
            "maxLength": 2000
          },
          "from_base": {
            "type": "integer",
            "description": "Base the value is written in.",
            "enum": [
              2,
              8,
              10,
              16
            ],
            "default": 10
          }
        },
        "required": [
          "value"
        ],
        "additionalProperties": false
      },
      "example": {
        "value": "ff",
        "from_base": 16
      },
      "web_page": "https://codelint.dev/encoder/number-base-converter"
    },
    {
      "name": "color_convert",
      "title": "Convert a colour",
      "category": "Encoding, hashing & identifiers",
      "description": "Convert a colour between hex, RGB and HSL, and report its WCAG contrast ratio against white and black so you can tell which text colour is legible on it.",
      "endpoint": "https://codelint.dev/api/v1/tools/color_convert",
      "method": "POST",
      "input_schema": {
        "type": "object",
        "properties": {
          "color": {
            "type": "string",
            "description": "A colour as hex (#1e90ff, #abc), rgb(30,144,255) or hsl(210,100%,56%).",
            "maxLength": 100
          }
        },
        "required": [
          "color"
        ],
        "additionalProperties": false
      },
      "example": {
        "color": "#1e90ff"
      },
      "web_page": "https://codelint.dev/utility/color-converter"
    },
    {
      "name": "timestamp_convert",
      "title": "Convert a timestamp",
      "category": "Dates & time",
      "description": "Convert between Unix epoch time and ISO 8601. Accepts epoch seconds or milliseconds (detected by magnitude) or any ISO 8601 date-time, and returns all forms plus the weekday. Call it with no arguments to get the current UTC time — a model has no clock of its own.",
      "endpoint": "https://codelint.dev/api/v1/tools/timestamp_convert",
      "method": "POST",
      "input_schema": {
        "type": "object",
        "properties": {
          "value": {
            "type": "string",
            "description": "Epoch seconds, epoch milliseconds, or an ISO 8601 date-time. Omit for the current time.",
            "maxLength": 100
          }
        },
        "additionalProperties": false
      },
      "example": {
        "value": "1767225600"
      },
      "web_page": "https://codelint.dev/date-time/time-utility"
    },
    {
      "name": "uuid_generate",
      "title": "Generate UUIDs",
      "category": "Encoding, hashing & identifiers",
      "description": "Generate one or more UUIDs. Version 7 (default) is time-ordered and sorts chronologically, which makes it the better choice for database primary keys; version 4 is fully random. Use this whenever a real, unique identifier is needed — a model-invented UUID is neither random nor unique.",
      "endpoint": "https://codelint.dev/api/v1/tools/uuid_generate",
      "method": "POST",
      "input_schema": {
        "type": "object",
        "properties": {
          "version": {
            "type": "integer",
            "description": "UUID version.",
            "enum": [
              4,
              7
            ],
            "default": 7
          },
          "count": {
            "type": "integer",
            "description": "How many to generate.",
            "default": 1,
            "minimum": 1,
            "maximum": 100
          }
        },
        "additionalProperties": false
      },
      "example": {
        "version": 7,
        "count": 3
      },
      "web_page": "https://codelint.dev/utility/uuid-generator"
    },
    {
      "name": "date_diff",
      "title": "Difference between two dates",
      "category": "Dates & time",
      "description": "Compute the exact span between two dates: total days, weeks and days, a calendar breakdown in years, months and days, and the number of business days (Monday to Friday; public holidays are not known). Leap years and month lengths are handled. Use it for ages, deadlines, contract terms and \"how long until\" — date subtraction is a classic place for a model to be off by one.",
      "endpoint": "https://codelint.dev/api/v1/tools/date_diff",
      "method": "POST",
      "input_schema": {
        "type": "object",
        "properties": {
          "start": {
            "type": "string",
            "description": "Start date, YYYY-MM-DD. A time may follow (YYYY-MM-DDTHH:mm).",
            "maxLength": 40
          },
          "end": {
            "type": "string",
            "description": "End date, in the same form. May be earlier than start.",
            "maxLength": 40
          },
          "include_end_date": {
            "type": "boolean",
            "description": "Count the end date as a full day too (a deadline \"from the 1st to the 5th inclusive\" is 5 days, not 4).",
            "default": false
          }
        },
        "required": [
          "start",
          "end"
        ],
        "additionalProperties": false
      },
      "example": {
        "start": "2026-01-15",
        "end": "2026-12-25"
      },
      "web_page": "https://codelint.dev/date-time/date-calculator"
    },
    {
      "name": "date_add",
      "title": "Add or subtract time from a date",
      "category": "Dates & time",
      "description": "Add or subtract years, months, weeks, days or business days from a date and return the resulting date and weekday. Month arithmetic clamps to the end of the month (31 January plus one month is the last day of February). Business days skip Saturdays and Sundays; public holidays are not known. Use negative numbers to go back in time.",
      "endpoint": "https://codelint.dev/api/v1/tools/date_add",
      "method": "POST",
      "input_schema": {
        "type": "object",
        "properties": {
          "date": {
            "type": "string",
            "description": "Starting date, YYYY-MM-DD.",
            "maxLength": 40
          },
          "years": {
            "type": "integer",
            "description": "Years to add (negative to subtract).",
            "default": 0,
            "minimum": -1000,
            "maximum": 1000
          },
          "months": {
            "type": "integer",
            "description": "Months to add.",
            "default": 0,
            "minimum": -12000,
            "maximum": 12000
          },
          "weeks": {
            "type": "integer",
            "description": "Weeks to add.",
            "default": 0,
            "minimum": -52000,
            "maximum": 52000
          },
          "days": {
            "type": "integer",
            "description": "Calendar days to add.",
            "default": 0,
            "minimum": -366000,
            "maximum": 366000
          },
          "business_days": {
            "type": "integer",
            "description": "Business days (Mon–Fri) to add, applied after everything else.",
            "default": 0,
            "minimum": -100000,
            "maximum": 100000
          }
        },
        "required": [
          "date"
        ],
        "additionalProperties": false
      },
      "example": {
        "date": "2026-01-31",
        "months": 1,
        "business_days": 10
      },
      "web_page": "https://codelint.dev/date-time/date-calculator"
    },
    {
      "name": "timezone_convert",
      "title": "Convert a time between time zones",
      "category": "Dates & time",
      "description": "Convert a date and time from one IANA time zone to another, applying the daylight-saving rules in force on that date in each zone. Returns the local time, UTC offset and weekday in both zones and the UTC instant. Flags local times that occur twice or not at all around a clock change. Use it for meeting times and scheduling across regions — offsets change through the year and differ by hemisphere.",
      "endpoint": "https://codelint.dev/api/v1/tools/timezone_convert",
      "method": "POST",
      "input_schema": {
        "type": "object",
        "properties": {
          "datetime": {
            "type": "string",
            "description": "Local date and time in the source zone, YYYY-MM-DDTHH:mm (seconds optional). If it ends in Z or an offset such as +05:30 it is taken as an exact instant and from_zone is ignored.",
            "maxLength": 40
          },
          "from_zone": {
            "type": "string",
            "description": "IANA zone the datetime is in, e.g. America/New_York. Defaults to UTC.",
            "default": "UTC",
            "maxLength": 64
          },
          "to_zone": {
            "type": "string",
            "description": "IANA zone to convert to, e.g. Asia/Tokyo.",
            "maxLength": 64
          }
        },
        "required": [
          "datetime",
          "to_zone"
        ],
        "additionalProperties": false
      },
      "example": {
        "datetime": "2026-07-01T09:00",
        "from_zone": "America/New_York",
        "to_zone": "Asia/Tokyo"
      },
      "web_page": "https://codelint.dev/reference/timezones"
    },
    {
      "name": "cron_explain",
      "title": "Explain a cron expression",
      "category": "Schedules, patterns & networking",
      "description": "Parse a standard 5-field cron expression (or an @daily-style macro), describe in words when it fires, and compute its next run times in UTC. Use it to check a schedule before deploying it — computing cron fire times by reasoning alone is error-prone, especially with day-of-month and day-of-week both set.",
      "endpoint": "https://codelint.dev/api/v1/tools/cron_explain",
      "method": "POST",
      "input_schema": {
        "type": "object",
        "properties": {
          "expression": {
            "type": "string",
            "description": "Cron expression: \"minute hour day-of-month month day-of-week\", e.g. \"*/15 9-17 * * 1-5\".",
            "maxLength": 200
          },
          "count": {
            "type": "integer",
            "description": "How many upcoming run times to return.",
            "default": 5,
            "minimum": 1,
            "maximum": 25
          },
          "from": {
            "type": "string",
            "description": "ISO 8601 instant to compute runs after. Defaults to now.",
            "maxLength": 40
          }
        },
        "required": [
          "expression"
        ],
        "additionalProperties": false
      },
      "example": {
        "expression": "*/15 9-17 * * 1-5",
        "count": 3,
        "from": "2026-01-01T00:00:00Z"
      },
      "web_page": "https://codelint.dev/utility/cron-builder"
    },
    {
      "name": "regex_test",
      "title": "Test a regular expression",
      "category": "Schedules, patterns & networking",
      "description": "Run a JavaScript (ECMAScript) regular expression against text and return every match with its index and capture groups. Use it to verify a pattern actually matches what you intend before putting it in code. Reports a syntax error if the pattern does not compile.",
      "endpoint": "https://codelint.dev/api/v1/tools/regex_test",
      "method": "POST",
      "input_schema": {
        "type": "object",
        "properties": {
          "pattern": {
            "type": "string",
            "description": "The regex source, without surrounding slashes.",
            "maxLength": 2000
          },
          "text": {
            "type": "string",
            "description": "The text to search.",
            "maxLength": 50000
          },
          "flags": {
            "type": "string",
            "description": "Regex flags, any of d g i m s u v y. Without \"g\" only the first match is returned.",
            "default": "g",
            "maxLength": 8
          },
          "max_matches": {
            "type": "integer",
            "description": "Stop after this many matches.",
            "default": 100,
            "minimum": 1,
            "maximum": 1000
          }
        },
        "required": [
          "pattern",
          "text"
        ],
        "additionalProperties": false
      },
      "example": {
        "pattern": "(?<user>[\\w.]+)@(?<domain>[\\w.]+)",
        "text": "Mail ada@example.com or bob@test.org",
        "flags": "g"
      },
      "web_page": "https://codelint.dev/developer-tools/regex-checker"
    },
    {
      "name": "cidr_calculate",
      "title": "Calculate an IPv4 subnet",
      "category": "Schedules, patterns & networking",
      "description": "Given an IPv4 CIDR block (e.g. 10.0.0.0/22), return its network and broadcast addresses, subnet and wildcard masks, usable host range and host count, and whether it is private (RFC 1918). Optionally split it into equal smaller subnets. IPv4 only.",
      "endpoint": "https://codelint.dev/api/v1/tools/cidr_calculate",
      "method": "POST",
      "input_schema": {
        "type": "object",
        "properties": {
          "cidr": {
            "type": "string",
            "description": "IPv4 address with prefix length, e.g. 192.168.1.0/24.",
            "maxLength": 40
          },
          "split_prefix": {
            "type": "integer",
            "description": "If set, divide the block into subnets of this prefix length (must be longer than the block's own).",
            "minimum": 1,
            "maximum": 32
          }
        },
        "required": [
          "cidr"
        ],
        "additionalProperties": false
      },
      "example": {
        "cidr": "10.0.0.0/22",
        "split_prefix": 24
      },
      "web_page": "https://codelint.dev/network-security/cidr-calculator"
    },
    {
      "name": "http_headers_analyze",
      "title": "Analyse HTTP response headers",
      "category": "Schedules, patterns & networking",
      "description": "Parse raw HTTP response headers (as printed by `curl -I`) and audit them: explains each header, flags risky values (weak CSP, cookies missing Secure/HttpOnly/SameSite, permissive CORS), lists the security headers that are missing, and gives a 0–100 score.",
      "endpoint": "https://codelint.dev/api/v1/tools/http_headers_analyze",
      "method": "POST",
      "input_schema": {
        "type": "object",
        "properties": {
          "headers": {
            "type": "string",
            "description": "Raw response headers, one \"Name: value\" per line. A status line is ignored.",
            "maxLength": 50000
          }
        },
        "required": [
          "headers"
        ],
        "additionalProperties": false
      },
      "example": {
        "headers": "HTTP/2 200\ncontent-type: text/html\nx-frame-options: DENY\nset-cookie: sid=abc; Path=/"
      },
      "web_page": "https://codelint.dev/network-security/http-headers"
    },
    {
      "name": "llm_models",
      "title": "List LLM models and prices",
      "category": "LLM engineering",
      "description": "List current large-language-model API offerings with list prices (USD per 1M input/output tokens), long-context surcharge rules, context window and max output. Covers OpenAI, Anthropic, Google, xAI, DeepSeek, Mistral and Meta. Each response states the date the prices were last verified against the providers' own pricing pages — a model's training data is always out of date on this.",
      "endpoint": "https://codelint.dev/api/v1/tools/llm_models",
      "method": "POST",
      "input_schema": {
        "type": "object",
        "properties": {
          "provider": {
            "type": "string",
            "description": "Only return models from this provider (e.g. \"Anthropic\"). Case-insensitive.",
            "maxLength": 40
          },
          "max_input_usd_per_1m": {
            "type": "number",
            "description": "Only return models whose standard input price is at or below this.",
            "minimum": 0
          }
        },
        "additionalProperties": false
      },
      "example": {
        "provider": "Anthropic"
      },
      "web_page": "https://codelint.dev/ai-tools/model-comparison"
    },
    {
      "name": "llm_cost_estimate",
      "title": "Estimate LLM API cost",
      "category": "LLM engineering",
      "description": "Calculate what an LLM workload costs: tokens per request × requests, at list price, with long-context surcharges applied correctly (several providers bill the whole request at a higher rate once the prompt passes a threshold). Name a model for one figure, or omit it to get every model ranked cheapest-first for the same workload.",
      "endpoint": "https://codelint.dev/api/v1/tools/llm_cost_estimate",
      "method": "POST",
      "input_schema": {
        "type": "object",
        "properties": {
          "input_tokens": {
            "type": "integer",
            "description": "Prompt tokens per request.",
            "minimum": 0,
            "maximum": 100000000
          },
          "output_tokens": {
            "type": "integer",
            "description": "Completion tokens per request.",
            "minimum": 0,
            "maximum": 100000000
          },
          "requests": {
            "type": "integer",
            "description": "Number of requests (e.g. per month).",
            "default": 1,
            "minimum": 1,
            "maximum": 1000000000
          },
          "model": {
            "type": "string",
            "description": "Model id or name, e.g. \"claude-sonnet-5-5\". Omit to compare all models.",
            "maxLength": 80
          }
        },
        "required": [
          "input_tokens",
          "output_tokens"
        ],
        "additionalProperties": false
      },
      "example": {
        "input_tokens": 12000,
        "output_tokens": 800,
        "requests": 50000,
        "model": "claude-sonnet-5-5"
      },
      "web_page": "https://codelint.dev/ai-tools/cost-calculator"
    },
    {
      "name": "llm_price_changes",
      "title": "LLM price changes and shutdown dates",
      "category": "LLM engineering",
      "description": "Return the dated record of LLM API price changes, model launches, deprecations and shutdown dates, plus the computed differences between the dates the price list was re-verified. Each announced event carries the provider page it came from. Use it to answer \"did the price of X change?\", \"when does model Y shut down?\" or \"what is about to change?\" — none of which a model can know from training data.",
      "endpoint": "https://codelint.dev/api/v1/tools/llm_price_changes",
      "method": "POST",
      "input_schema": {
        "type": "object",
        "properties": {
          "provider": {
            "type": "string",
            "description": "Only return entries for this provider (e.g. \"Google\"). Case-insensitive.",
            "maxLength": 40
          },
          "since": {
            "type": "string",
            "description": "Only return events dated on or after this day, YYYY-MM-DD.",
            "maxLength": 10
          },
          "upcoming_only": {
            "type": "boolean",
            "description": "Only return announced events that are still in the future.",
            "default": false
          }
        },
        "additionalProperties": false
      },
      "example": {
        "provider": "Google",
        "upcoming_only": true
      },
      "web_page": "https://codelint.dev/ai-tools/llm-price-changes"
    },
    {
      "name": "count_tokens",
      "title": "Count tokens in text",
      "category": "LLM engineering",
      "description": "Count how many tokens a piece of text uses. Exact for OpenAI's published o200k_base encoding; for Anthropic and Google models it returns the estimate from each provider's documented ratio, labelled as an estimate. Use it to check a prompt fits a context window or to feed llm_cost_estimate.",
      "endpoint": "https://codelint.dev/api/v1/tools/count_tokens",
      "method": "POST",
      "input_schema": {
        "type": "object",
        "properties": {
          "text": {
            "type": "string",
            "description": "The text to count."
          }
        },
        "required": [
          "text"
        ],
        "additionalProperties": false
      },
      "example": {
        "text": "The quick brown fox jumps over the lazy dog."
      },
      "web_page": "https://codelint.dev/ai-tools/token-counter"
    },
    {
      "name": "llm_stream_assemble",
      "title": "Assemble a streamed LLM response",
      "category": "LLM engineering",
      "description": "Reassemble a raw streamed LLM API response (server-sent events) into the message it adds up to: text, reasoning, tool calls with parsed arguments, stop reason and token usage. Understands Anthropic Messages, OpenAI Chat Completions (and compatible providers), OpenAI Responses, Gemini generateContent and Gemini Interactions. Also reports whether the stream was cut off, tool-argument JSON that never closed, and error events sent after HTTP 200. Use it to debug a captured stream instead of joining fragments by hand.",
      "endpoint": "https://codelint.dev/api/v1/tools/llm_stream_assemble",
      "method": "POST",
      "input_schema": {
        "type": "object",
        "properties": {
          "stream": {
            "type": "string",
            "description": "The raw response body: SSE text (\"data: ...\" lines), one JSON chunk per line, or a JSON array of chunks."
          },
          "format": {
            "type": "string",
            "description": "The wire format. Leave as \"auto\" unless the capture is too partial to recognise.",
            "enum": [
              "auto",
              "anthropic",
              "openai-chat",
              "openai-responses",
              "gemini",
              "gemini-interactions"
            ],
            "default": "auto"
          }
        },
        "required": [
          "stream"
        ],
        "additionalProperties": false
      },
      "example": {
        "stream": "data: {\"object\":\"chat.completion.chunk\",\"model\":\"gpt-6.2-sol\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\"Hel\"},\"finish_reason\":null}]}\n\ndata: {\"object\":\"chat.completion.chunk\",\"model\":\"gpt-6.2-sol\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\"lo\"},\"finish_reason\":\"stop\"}]}\n\ndata: [DONE]\n\n"
      },
      "web_page": "https://codelint.dev/ai-tools/llm-stream-viewer"
    },
    {
      "name": "ucp_profile_validate",
      "title": "Validate a UCP profile",
      "category": "Agentic commerce",
      "description": "Validate a Universal Commerce Protocol (UCP) profile document — the JSON a store publishes at /.well-known/ucp, or the profile an agent platform advertises — against the UCP specification: version format, required registries, service bindings and endpoints, capability entries and orphaned extensions, namespace authority binding of schema URLs, payment handlers, and signing keys (including leaked private key material). Pass the JSON text; this tool does not fetch URLs. Use it before publishing a profile or when a store or agent is rejected during UCP negotiation.",
      "endpoint": "https://codelint.dev/api/v1/tools/ucp_profile_validate",
      "method": "POST",
      "input_schema": {
        "type": "object",
        "properties": {
          "profile": {
            "type": "string",
            "description": "The profile document as JSON text."
          },
          "kind": {
            "type": "string",
            "description": "Whose profile it is: a store (\"business\") or an agent platform (\"platform\"). Platform profiles must give spec and schema URLs.",
            "enum": [
              "business",
              "platform"
            ],
            "default": "business"
          }
        },
        "required": [
          "profile"
        ],
        "additionalProperties": false
      },
      "example": {
        "profile": "{\"ucp\":{\"version\":\"2026-08-25\",\"services\":{\"dev.ucp.shopping\":[{\"version\":\"2026-08-25\",\"spec\":\"https://ucp.dev/2026-08-25/specification/overview/\",\"transport\":\"mcp\",\"endpoint\":\"https://shop.example.com/api/ucp/mcp\",\"schema\":\"https://ucp.dev/2026-08-25/services/shopping/mcp.openrpc.json\"}]},\"capabilities\":{\"dev.ucp.shopping.cart\":[{\"version\":\"2026-08-25\",\"spec\":\"https://ucp.dev/2026-08-25/specification/shopping/cart/\",\"schema\":\"https://ucp.dev/2026-08-25/schemas/shopping/cart.json\"}]},\"payment_handlers\":{}}}"
      },
      "web_page": "https://codelint.dev/ai-tools/ucp-store-tester"
    },
    {
      "name": "product_feed_validate",
      "title": "Validate a ChatGPT product feed",
      "category": "Agentic commerce",
      "description": "Validate a product feed written for OpenAI's product feed schema (the format ChatGPT shopping ingests) row by row: the eleven required fields, the accepted availability values, the \"amount CURRENCY\" price format, URLs, GTIN length and check digit, duplicate item IDs, variant groups, checkout fields and legacy column names. Accepts CSV, TSV, JSONL or a JSON array as text and returns counts plus each finding with the first affected rows. Use it to check a feed, or a sample of one, before a merchant uploads it. It checks the file only; it cannot tell whether URLs load or what the upload itself will accept.",
      "endpoint": "https://codelint.dev/api/v1/tools/product_feed_validate",
      "method": "POST",
      "input_schema": {
        "type": "object",
        "properties": {
          "feed": {
            "type": "string",
            "description": "The feed as text: CSV or TSV with a header row, JSONL (one object per line), or a JSON array of objects."
          },
          "format": {
            "type": "string",
            "description": "The file format. Leave as \"auto\" unless detection guesses wrong.",
            "enum": [
              "auto",
              "csv",
              "tsv",
              "jsonl",
              "json"
            ],
            "default": "auto"
          }
        },
        "required": [
          "feed"
        ],
        "additionalProperties": false
      },
      "example": {
        "feed": "item_id,title,description,url,brand,seller_name,image_url,availability,price,target_countries,store_country\nMUG-1,Blue ceramic mug,Glazed stoneware mug,https://shop.example.com/p/mug-1,Northwind,Northwind,https://shop.example.com/i/mug-1.jpg,in_stock,18.00 USD,US,US\nMUG-2,Green ceramic mug,Glazed stoneware mug,https://shop.example.com/p/mug-2,Northwind,Northwind,https://shop.example.com/i/mug-2.jpg,available,$18,US,US\n"
      },
      "web_page": "https://codelint.dev/ai-tools/chatgpt-product-feed-validator"
    },
    {
      "name": "http_signature_verify",
      "title": "Verify an HTTP message signature",
      "category": "Agentic commerce",
      "description": "Verify the signature on an HTTP request, response or webhook and explain a failure. Handles RFC 9421 HTTP Message Signatures with RFC 9530 Content-Digest (the scheme UCP uses) for ecdsa-p256-sha256, ecdsa-p384-sha384, ed25519, hmac-sha256, rsa-pss-sha512 and rsa-v1_5-sha256, and the ACP order-webhook Merchant-Signature HMAC. Pass the message as text (start line, headers, blank line, body) and the key (a JWK, JWK Set, UCP profile, PEM public key or shared secret). Returns the verdict, the exact signature base that was checked, and specific causes such as a changed body, a missing covered component, a wrong key or a DER-encoded ECDSA signature. Never send a production private key; only a public key or a test secret is needed.",
      "endpoint": "https://codelint.dev/api/v1/tools/http_signature_verify",
      "method": "POST",
      "input_schema": {
        "type": "object",
        "properties": {
          "message": {
            "type": "string",
            "description": "The HTTP message exactly as sent: request or status line, headers, a blank line, then the body."
          },
          "key": {
            "type": "string",
            "description": "The verification key: a JWK, a JWK Set, a UCP profile with keys[], a PEM public key, or the shared secret for HMAC.",
            "maxLength": 20000
          },
          "scheme": {
            "type": "string",
            "description": "Which scheme to check. \"auto\" decides from the headers present.",
            "enum": [
              "auto",
              "rfc9421",
              "acp"
            ],
            "default": "auto"
          },
          "authority": {
            "type": "string",
            "description": "The host the signer saw, if a proxy changed the Host header.",
            "maxLength": 300
          },
          "url_scheme": {
            "type": "string",
            "description": "The URL scheme the signer saw, for @scheme and @target-uri.",
            "enum": [
              "https",
              "http"
            ],
            "default": "https"
          },
          "now": {
            "type": "integer",
            "description": "Verification time in Unix seconds, for created/expires and ACP timestamp checks. Defaults to the current time.",
            "minimum": 0
          }
        },
        "required": [
          "message",
          "key"
        ],
        "additionalProperties": false
      },
      "example": {
        "message": "POST /agentic_checkout/webhooks/order_events HTTP/1.1\nHost: agent.example.com\nContent-Type: application/json\nMerchant-Signature: t=1794821400,v1=a0976932a3bc2731fcc3db989509a8850ecf8712a183fd1d0e4f9d2a3a7dd5e8\n\n{\"type\":\"order_update\",\"data\":{\"id\":\"ord_123\"}}",
        "key": "whsec_test_secret",
        "now": 1794821442
      },
      "web_page": "https://codelint.dev/ai-tools/http-signature-debugger"
    },
    {
      "name": "sd_jwt_decode",
      "title": "Decode an SD-JWT credential",
      "category": "Agentic commerce",
      "description": "Decode an SD-JWT or SD-JWT VC (RFC 9901 selective-disclosure JWT, the credential format of the EU Digital Identity Wallet and of agent payment mandates): split the issuer-signed JWT, the disclosures and the key-binding JWT; hash each disclosure and match it to the digest that references it; rebuild the claims a verifier ends up with; and check the key-binding hash, audience, nonce and time claims. Verifies the issuer signature when a public key is supplied (JWK, JWK Set or PEM) and the key-binding signature from the cnf claim. A plain JWT decoder shows only digests; use this to see what a credential actually discloses and whether it holds together. Never send a private key.",
      "endpoint": "https://codelint.dev/api/v1/tools/sd_jwt_decode",
      "method": "POST",
      "input_schema": {
        "type": "object",
        "properties": {
          "token": {
            "type": "string",
            "description": "The SD-JWT presentation: issuer-signed JWT, disclosures and optional key-binding JWT joined by \"~\", or its JSON serialisation."
          },
          "issuer_key": {
            "type": "string",
            "description": "The issuer public key as a JWK, JWK Set or PEM. Without it the token is decoded but not verified.",
            "maxLength": 20000
          },
          "expected_audience": {
            "type": "string",
            "description": "The audience the key-binding JWT must name, if you want it checked.",
            "maxLength": 500
          },
          "expected_nonce": {
            "type": "string",
            "description": "The nonce the key-binding JWT must carry, if you want it checked.",
            "maxLength": 500
          },
          "now": {
            "type": "integer",
            "description": "Verification time in Unix seconds, for exp, nbf and iat. Defaults to the current time.",
            "minimum": 0
          }
        },
        "required": [
          "token"
        ],
        "additionalProperties": false
      },
      "example": {
        "token": "eyJhbGciOiJFUzI1NiIsInR5cCI6ImV4YW1wbGUrc2Qtand0In0.eyJpc3MiOiJodHRwczovL2lzc3Vlci5leGFtcGxlIiwiaWF0IjoxNzk0ODIxNDAwLCJnaXZlbl9uYW1lIjoiRXJpa2EiLCJfc2QiOlsiVFpqb3VPVHJCS0V3VU5qTkRzOXllTXpCb1FuOEZGTFBhSmpSUm1BdHdyTSJdLCJfc2RfYWxnIjoic2hhLTI1NiJ9.3aUlttz9sX7x1ynbkTZvK33VGeDtVetPGCHk-kf0zIeP2VFFDRKyYpn3caBGIiEOiyOizS17GpkbN6ktuyKrPg~WyJfMjZiYzRMVC1hYzZxMktJNmNCVzVlcyIsImZhbWlseV9uYW1lIiwiTcO2Yml1cyJd~"
      },
      "web_page": "https://codelint.dev/ai-tools/sd-jwt-decoder"
    },
    {
      "name": "india_id_validate",
      "title": "Validate Indian tax and business identifiers",
      "category": "Payment formats & identifiers",
      "description": "Check Indian identifiers by structure and check digit: GSTIN (state code, embedded PAN, check character), PAN, TAN, IFSC, Aadhaar (Verhoeff check digit), CIN and Udyam registration numbers. Pass one identifier or many, one per line; the type is detected unless given. Returns whether each is well-formed, a breakdown of what each part encodes, and which character is wrong. Format only: it cannot tell whether an identifier has been issued or is active. Aadhaar numbers are always masked in the output.",
      "endpoint": "https://codelint.dev/api/v1/tools/india_id_validate",
      "method": "POST",
      "input_schema": {
        "type": "object",
        "properties": {
          "ids": {
            "type": "string",
            "description": "One identifier, or several separated by newlines.",
            "maxLength": 100000
          },
          "type": {
            "type": "string",
            "description": "The identifier type. Leave as \"auto\" to detect it from the shape.",
            "enum": [
              "auto",
              "gstin",
              "pan",
              "tan",
              "ifsc",
              "aadhaar",
              "cin",
              "udyam"
            ],
            "default": "auto"
          }
        },
        "required": [
          "ids"
        ],
        "additionalProperties": false
      },
      "example": {
        "ids": "29AAAAA1303P1ZV"
      },
      "web_page": "https://codelint.dev/fintech/india-id-validator"
    },
    {
      "name": "payment_qr_decode",
      "title": "Decode a payment QR code",
      "category": "Payment formats & identifiers",
      "description": "Decode the text inside a payment QR code or payment link and check it: EMVCo merchant-presented codes (the tag-length-value format behind Pix, PromptPay, DuitNow, BharatQR, PayNow, QRIS and others) with the CRC recomputed and mandatory fields checked, UPI payment links (upi://pay?…), the SEPA credit transfer QR code (EPC069-12) and the Swiss QR-bill. Returns the scheme, payee, amount and currency, every field named, and what is wrong. Pass the decoded text, not an image. Use it instead of parsing lengths and computing a CRC by hand.",
      "endpoint": "https://codelint.dev/api/v1/tools/payment_qr_decode",
      "method": "POST",
      "input_schema": {
        "type": "object",
        "properties": {
          "payload": {
            "type": "string",
            "description": "The text the QR code contains, or a upi:// payment link."
          },
          "format": {
            "type": "string",
            "description": "The payload format. Leave as \"auto\" to detect it.",
            "enum": [
              "auto",
              "emvco",
              "upi",
              "epc",
              "swiss"
            ],
            "default": "auto"
          }
        },
        "required": [
          "payload"
        ],
        "additionalProperties": false
      },
      "example": {
        "payload": "upi://pay?pa=merchant@examplebank&pn=Example%20Store&am=249.00&cu=INR&tn=Order%201042"
      },
      "web_page": "https://codelint.dev/fintech/payment-qr-decoder"
    },
    {
      "name": "ach_file_validate",
      "title": "Validate a NACHA ACH file",
      "category": "Payment formats & identifiers",
      "description": "Parse a US ACH file in the NACHA fixed-width format (94 characters per record) and check it: record order and nesting, entry and addenda counts, the entry hash, debit and credit totals at batch and file level, the block count and padding, routing-number check digits, transaction and service class codes, and field formats. Returns who originates the file, the batches with their calculated totals, and each problem with its line and column range. Account numbers are always masked in the output. Checks the published file format, not the full Nacha rulebook or one bank's extra requirements.",
      "endpoint": "https://codelint.dev/api/v1/tools/ach_file_validate",
      "method": "POST",
      "input_schema": {
        "type": "object",
        "properties": {
          "file": {
            "type": "string",
            "description": "The ACH file as text: 94-character records separated by line breaks, or one unbroken run of characters."
          }
        },
        "required": [
          "file"
        ],
        "additionalProperties": false
      },
      "example": {
        "file": "101 12345678019876543212611270930A094101FIRST EXAMPLE BANK     TIDEWATER KAYAKS LLC           \n5220TIDEWATER KAYAKS                    1987654321PPDPAYROLL         261201   1123456780000001\n6220123456724400123456       0000184250EMP0001        MARISOL QUINTERO        0123456780000001\n62209876543877001234         0000212075EMP0002        DEVON ACHTERBERG        0123456780000002\n632111111118000987654321     0000050000EMP0002        DEVON ACHTERBERG        0123456780000003\n6221231231235550001111       0000163310EMP0003        PRIYA RAMASWAMY         0123456780000004\n6221010101351234500099       0000198840EMP0004        TOBIAS LINDQVIST        0123456780000005\n822000000500446355460000000000000000008084751987654321                         123456780000001\n9000001000001000000050044635546000000000000000000808475                                       \n9999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999\n"
      },
      "web_page": "https://codelint.dev/fintech/ach-file-validator"
    },
    {
      "name": "aba_routing_check",
      "title": "Check a US bank routing number",
      "category": "Payment formats & identifiers",
      "description": "Check a nine-digit US ABA routing (transit) number: the check-digit rule, with the weighted sum shown, and what the first two digits indicate (Federal Reserve district, thrift, electronic or traveler's cheque series). Checks the number only; it does not say whether the number is assigned to a bank.",
      "endpoint": "https://codelint.dev/api/v1/tools/aba_routing_check",
      "method": "POST",
      "input_schema": {
        "type": "object",
        "properties": {
          "routing_number": {
            "type": "string",
            "description": "The nine-digit routing number. Spaces and hyphens are ignored.",
            "maxLength": 40
          }
        },
        "required": [
          "routing_number"
        ],
        "additionalProperties": false
      },
      "example": {
        "routing_number": "123456780"
      },
      "web_page": "https://codelint.dev/fintech/ach-file-validator"
    },
    {
      "name": "iso20022_read",
      "title": "Read an ISO 20022 payment message",
      "category": "Payment formats & identifiers",
      "description": "Read an ISO 20022 XML payment message as plain payments and check it. Interprets pain.001 (credit transfer initiation), pain.008 (direct debit), pain.002 and pacs.002 (status reports), pacs.008 (interbank credit transfer), pacs.004 (return), camt.052/053/054 (account reports, statements, notifications) and the business application header, across their published versions. Returns the message type and version, the header facts, each payment or statement entry with parties, amounts and references, totals by currency, and findings: schema violations for the exact version, control sum and transaction count mismatches, IBAN check digits, currency and amount rules, and SEPA rules when the message declares SEPA. Use it instead of reading the XML by eye.",
      "endpoint": "https://codelint.dev/api/v1/tools/iso20022_read",
      "method": "POST",
      "input_schema": {
        "type": "object",
        "properties": {
          "xml": {
            "type": "string",
            "description": "The message as XML text, with or without a business application header or envelope."
          },
          "scheme": {
            "type": "string",
            "description": "Scheme rules to apply on top of the ISO schema. \"auto\" applies SEPA rules only when the message declares SEPA.",
            "enum": [
              "auto",
              "none",
              "sepa"
            ],
            "default": "auto"
          }
        },
        "required": [
          "xml"
        ],
        "additionalProperties": false
      },
      "example": {
        "xml": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Document xmlns=\"urn:iso:std:iso:20022:tech:xsd:pain.001.001.09\">\n  <CstmrCdtTrfInitn>\n    <GrpHdr>\n      <MsgId>MSG-2026-11-20-0001</MsgId>\n      <CreDtTm>2026-11-20T09:30:00+01:00</CreDtTm>\n      <NbOfTxs>2</NbOfTxs>\n      <CtrlSum>1649.90</CtrlSum>\n      <InitgPty>\n        <Nm>Lindqvist Fahrradwerk GmbH</Nm>\n      </InitgPty>\n    </GrpHdr>\n    <PmtInf>\n      <PmtInfId>PMT-2026-11-20-A</PmtInfId>\n      <PmtMtd>TRF</PmtMtd>\n      <BtchBookg>true</BtchBookg>\n      <NbOfTxs>2</NbOfTxs>\n      <CtrlSum>1649.90</CtrlSum>\n      <PmtTpInf>\n        <SvcLvl>\n          <Cd>SEPA</Cd>\n        </SvcLvl>\n      </PmtTpInf>\n      <ReqdExctnDt>\n        <Dt>2026-11-23</Dt>\n      </ReqdExctnDt>\n      <Dbtr>\n        <Nm>Lindqvist Fahrradwerk GmbH</Nm>\n        <PstlAdr>\n          <StrtNm>Hafenweg</StrtNm>\n          <BldgNb>12</BldgNb>\n          <PstCd>50667</PstCd>\n          <TwnNm>Koeln</TwnNm>\n          <Ctry>DE</Ctry>\n        </PstlAdr>\n      </Dbtr>\n      <DbtrAcct>\n        <Id>\n          <IBAN>DE89370400440532013000</IBAN>\n        </Id>\n      </DbtrAcct>\n      <DbtrAgt>\n        <FinInstnId>\n          <BICFI>ALPHDEB2XXX</BICFI>\n        </FinInstnId>\n      </DbtrAgt>\n      <ChrgBr>SLEV</ChrgBr>\n      <CdtTrfTxInf>\n        <PmtId>\n          <InstrId>INSTR-0001</InstrId>\n          <EndToEndId>INV-2026-4471</EndToEndId>\n        </PmtId>\n        <Amt>\n          <InstdAmt Ccy=\"EUR\">1500.00</InstdAmt>\n        </Amt>\n        <CdtrAgt>\n          <FinInstnId>\n            <BICFI>BETAFRP2XXX</BICFI>\n          </FinInstnId>\n        </CdtrAgt>\n        <Cdtr>\n          <Nm>Atelier Moreau SARL</Nm>\n        </Cdtr>\n        <CdtrAcct>\n          <Id>\n            <IBAN>FR1420041010050500013M02606</IBAN>\n          </Id>\n        </CdtrAcct>\n        <Purp>\n          <Cd>SUPP</Cd>\n        </Purp>\n        <RmtInf>\n          <Ustrd>Invoice 4471, frames and forks</Ustrd>\n        </RmtInf>\n      </CdtTrfTxInf>\n      <CdtTrfTxInf>\n        <PmtId>\n          <InstrId>INSTR-0002</InstrId>\n          <EndToEndId>INV-2026-4472</EndToEndId>\n        </PmtId>\n        <Amt>\n          <InstdAmt Ccy=\"EUR\">149.90</InstdAmt>\n        </Amt>\n        <Cdtr>\n          <Nm>Van Dijk Onderdelen BV</Nm>\n        </Cdtr>\n        <CdtrAcct>\n          <Id>\n            <IBAN>NL91ABNA0417164300</IBAN>\n          </Id>\n        </CdtrAcct>\n        <RmtInf>\n          <Strd>\n            <CdtrRefInf>\n              <Tp>\n                <CdOrPrtry>\n                  <Cd>SCOR</Cd>\n                </CdOrPrtry>\n                <Issr>ISO</Issr>\n              </Tp>\n              <Ref>RF18539007547034</Ref>\n            </CdtrRefInf>\n          </Strd>\n        </RmtInf>\n      </CdtTrfTxInf>\n    </PmtInf>\n  </CstmrCdtTrfInitn>\n</Document>\n"
      },
      "web_page": "https://codelint.dev/fintech/iso20022-viewer"
    },
    {
      "name": "einvoice_read",
      "title": "Read a structured e-invoice",
      "category": "Payment formats & identifiers",
      "description": "Read a structured electronic invoice as an invoice and check it. Handles European EN 16931 invoices in UBL (Invoice, CreditNote) and UN/CEFACT CII syntax — the formats XRechnung, Peppol BIS Billing 3.0, Factur-X and ZUGFeRD carry — and Indian GST e-invoices (the invoice JSON sent to the Invoice Registration Portal, and the signed QR code token printed on the invoice). Returns the format and profile, seller, buyer, lines, tax breakdown and totals, and findings that name the rule broken: required business terms, line and total arithmetic, VAT breakdown, code lists, and Peppol, XRechnung and Indian portal rules. A viewer with checks, not a conformance validator: it does not run the official Schematron rules. Pass XML or JSON text; for a Factur-X PDF, pass the embedded XML.",
      "endpoint": "https://codelint.dev/api/v1/tools/einvoice_read",
      "method": "POST",
      "input_schema": {
        "type": "object",
        "properties": {
          "invoice": {
            "type": "string",
            "description": "The invoice as text: UBL or CII XML, Indian invoice JSON, or an Indian signed QR token."
          },
          "public_key": {
            "type": "string",
            "description": "Optional public key (PEM or base64) to verify an Indian signed token. Without it the token is decoded, not verified.",
            "maxLength": 20000
          }
        },
        "required": [
          "invoice"
        ],
        "additionalProperties": false
      },
      "example": {
        "invoice": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Invoice xmlns=\"urn:oasis:names:specification:ubl:schema:xsd:Invoice-2\"\n         xmlns:cac=\"urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2\"\n         xmlns:cbc=\"urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2\">\n  <cbc:CustomizationID>urn:cen.eu:en16931:2017#compliant#urn:fdc:peppol.eu:2017:poacc:billing:3.0</cbc:CustomizationID>\n  <cbc:ProfileID>urn:fdc:peppol.eu:2017:poacc:billing:01:1.0</cbc:ProfileID>\n  <cbc:ID>INV-2026-1187</cbc:ID>\n  <cbc:IssueDate>2026-11-16</cbc:IssueDate>\n  <cbc:DueDate>2026-12-16</cbc:DueDate>\n  <cbc:InvoiceTypeCode>380</cbc:InvoiceTypeCode>\n  <cbc:Note>Delivered to your Utrecht office on 12 November.</cbc:Note>\n  <cbc:DocumentCurrencyCode>EUR</cbc:DocumentCurrencyCode>\n  <cbc:BuyerReference>PO-88217</cbc:BuyerReference>\n  <cac:OrderReference>\n    <cbc:ID>PO-88217</cbc:ID>\n  </cac:OrderReference>\n  <cac:AccountingSupplierParty>\n    <cac:Party>\n      <cbc:EndpointID schemeID=\"0088\">8712345000011</cbc:EndpointID>\n      <cac:PartyName>\n        <cbc:Name>Brightwater Kantoor</cbc:Name>\n      </cac:PartyName>\n      <cac:PostalAddress>\n        <cbc:StreetName>Voorbeeldkade 14</cbc:StreetName>\n        <cbc:CityName>Amsterdam</cbc:CityName>\n        <cbc:PostalZone>1011 AB</cbc:PostalZone>\n        <cac:Country>\n          <cbc:IdentificationCode>NL</cbc:IdentificationCode>\n        </cac:Country>\n      </cac:PostalAddress>\n      <cac:PartyTaxScheme>\n        <cbc:CompanyID>NL000099998B57</cbc:CompanyID>\n        <cac:TaxScheme>\n          <cbc:ID>VAT</cbc:ID>\n        </cac:TaxScheme>\n      </cac:PartyTaxScheme>\n      <cac:PartyLegalEntity>\n        <cbc:RegistrationName>Brightwater Kantoorartikelen B.V.</cbc:RegistrationName>\n        <cbc:CompanyID schemeID=\"0106\">99887766</cbc:CompanyID>\n      </cac:PartyLegalEntity>\n      <cac:Contact>\n        <cbc:Name>Accounts receivable</cbc:Name>\n        <cbc:Telephone>+31 20 555 0142</cbc:Telephone>\n        <cbc:ElectronicMail>invoices@brightwater.example</cbc:ElectronicMail>\n      </cac:Contact>\n    </cac:Party>\n  </cac:AccountingSupplierParty>\n  <cac:AccountingCustomerParty>\n    <cac:Party>\n      <cbc:EndpointID schemeID=\"0088\">8712345000028</cbc:EndpointID>\n      <cac:PostalAddress>\n        <cbc:StreetName>Proefweg 200</cbc:StreetName>\n        <cbc:CityName>Utrecht</cbc:CityName>\n        <cbc:PostalZone>3511 ZZ</cbc:PostalZone>\n        <cac:Country>\n          <cbc:IdentificationCode>NL</cbc:IdentificationCode>\n        </cac:Country>\n      </cac:PostalAddress>\n      <cac:PartyTaxScheme>\n        <cbc:CompanyID>NL000099997B56</cbc:CompanyID>\n        <cac:TaxScheme>\n          <cbc:ID>VAT</cbc:ID>\n        </cac:TaxScheme>\n      </cac:PartyTaxScheme>\n      <cac:PartyLegalEntity>\n        <cbc:RegistrationName>Halden Techniek B.V.</cbc:RegistrationName>\n      </cac:PartyLegalEntity>\n    </cac:Party>\n  </cac:AccountingCustomerParty>\n  <cac:Delivery>\n    <cbc:ActualDeliveryDate>2026-11-12</cbc:ActualDeliveryDate>\n  </cac:Delivery>\n  <cac:PaymentMeans>\n    <cbc:PaymentMeansCode name=\"Credit transfer\">58</cbc:PaymentMeansCode>\n    <cbc:PaymentID>INV-2026-1187</cbc:PaymentID>\n    <cac:PayeeFinancialAccount>\n      <cbc:ID>NL13TEST0123456789</cbc:ID>\n      <cbc:Name>Brightwater Kantoorartikelen B.V.</cbc:Name>\n    </cac:PayeeFinancialAccount>\n  </cac:PaymentMeans>\n  <cac:PaymentTerms>\n    <cbc:Note>Payment within 30 days of the invoice date.</cbc:Note>\n  </cac:PaymentTerms>\n  <cac:AllowanceCharge>\n    <cbc:ChargeIndicator>true</cbc:ChargeIndicator>\n    <cbc:AllowanceChargeReasonCode>FC</cbc:AllowanceChargeReasonCode>\n    <cbc:AllowanceChargeReason>Freight</cbc:AllowanceChargeReason>\n    <cbc:Amount currencyID=\"EUR\">25.00</cbc:Amount>\n    <cac:TaxCategory>\n      <cbc:ID>S</cbc:ID>\n      <cbc:Percent>21</cbc:Percent>\n      <cac:TaxScheme>\n        <cbc:ID>VAT</cbc:ID>\n      </cac:TaxScheme>\n    </cac:TaxCategory>\n  </cac:AllowanceCharge>\n  <cac:TaxTotal>\n    <cbc:TaxAmount currencyID=\"EUR\">317.28</cbc:TaxAmount>\n    <cac:TaxSubtotal>\n      <cbc:TaxableAmount currencyID=\"EUR\">1468.00</cbc:TaxableAmount>\n      <cbc:TaxAmount currencyID=\"EUR\">308.28</cbc:TaxAmount>\n      <cac:TaxCategory>\n        <cbc:ID>S</cbc:ID>\n        <cbc:Percent>21</cbc:Percent>\n        <cac:TaxScheme>\n          <cbc:ID>VAT</cbc:ID>\n        </cac:TaxScheme>\n      </cac:TaxCategory>\n    </cac:TaxSubtotal>\n    <cac:TaxSubtotal>\n      <cbc:TaxableAmount currencyID=\"EUR\">100.00</cbc:TaxableAmount>\n      <cbc:TaxAmount currencyID=\"EUR\">9.00</cbc:TaxAmount>\n      <cac:TaxCategory>\n        <cbc:ID>S</cbc:ID>\n        <cbc:Percent>9</cbc:Percent>\n        <cac:TaxScheme>\n          <cbc:ID>VAT</cbc:ID>\n        </cac:TaxScheme>\n      </cac:TaxCategory>\n    </cac:TaxSubtotal>\n  </cac:TaxTotal>\n  <cac:LegalMonetaryTotal>\n    <cbc:LineExtensionAmount currencyID=\"EUR\">1543.00</cbc:LineExtensionAmount>\n    <cbc:TaxExclusiveAmount currencyID=\"EUR\">1568.00</cbc:TaxExclusiveAmount>\n    <cbc:TaxInclusiveAmount currencyID=\"EUR\">1885.28</cbc:TaxInclusiveAmount>\n    <cbc:ChargeTotalAmount currencyID=\"EUR\">25.00</cbc:ChargeTotalAmount>\n    <cbc:PayableAmount currencyID=\"EUR\">1885.28</cbc:PayableAmount>\n  </cac:LegalMonetaryTotal>\n  <cac:InvoiceLine>\n    <cbc:ID>1</cbc:ID>\n    <cbc:InvoicedQuantity unitCode=\"C62\">10</cbc:InvoicedQuantity>\n    <cbc:LineExtensionAmount currencyID=\"EUR\">1290.00</cbc:LineExtensionAmount>\n    <cac:Item>\n      <cbc:Name>Office chair, adjustable</cbc:Name>\n      <cac:SellersItemIdentification>\n        <cbc:ID>CH-2040</cbc:ID>\n      </cac:SellersItemIdentification>\n      <cac:ClassifiedTaxCategory>\n        <cbc:ID>S</cbc:ID>\n        <cbc:Percent>21</cbc:Percent>\n        <cac:TaxScheme>\n          <cbc:ID>VAT</cbc:ID>\n        </cac:TaxScheme>\n      </cac:ClassifiedTaxCategory>\n    </cac:Item>\n    <cac:Price>\n      <cbc:PriceAmount currencyID=\"EUR\">129.00</cbc:PriceAmount>\n    </cac:Price>\n  </cac:InvoiceLine>\n  <cac:InvoiceLine>\n    <cbc:ID>2</cbc:ID>\n    <cbc:InvoicedQuantity unitCode=\"XBX\">40</cbc:InvoicedQuantity>\n    <cbc:LineExtensionAmount currencyID=\"EUR\">153.00</cbc:LineExtensionAmount>\n    <cac:AllowanceCharge>\n      <cbc:ChargeIndicator>false</cbc:ChargeIndicator>\n      <cbc:AllowanceChargeReasonCode>95</cbc:AllowanceChargeReasonCode>\n      <cbc:AllowanceChargeReason>Volume discount</cbc:AllowanceChargeReason>\n      <cbc:MultiplierFactorNumeric>10</cbc:MultiplierFactorNumeric>\n      <cbc:Amount currencyID=\"EUR\">17.00</cbc:Amount>\n      <cbc:BaseAmount currencyID=\"EUR\">170.00</cbc:BaseAmount>\n    </cac:AllowanceCharge>\n    <cac:Item>\n      <cbc:Name>Copy paper A4, box of 5 reams</cbc:Name>\n      <cac:SellersItemIdentification>\n        <cbc:ID>PA-0500</cbc:ID>\n      </cac:SellersItemIdentification>\n      <cac:ClassifiedTaxCategory>\n        <cbc:ID>S</cbc:ID>\n        <cbc:Percent>21</cbc:Percent>\n        <cac:TaxScheme>\n          <cbc:ID>VAT</cbc:ID>\n        </cac:TaxScheme>\n      </cac:ClassifiedTaxCategory>\n    </cac:Item>\n    <cac:Price>\n      <cbc:PriceAmount currencyID=\"EUR\">4.25</cbc:PriceAmount>\n    </cac:Price>\n  </cac:InvoiceLine>\n  <cac:InvoiceLine>\n    <cbc:ID>3</cbc:ID>\n    <cbc:InvoicedQuantity unitCode=\"C62\">5</cbc:InvoicedQuantity>\n    <cbc:LineExtensionAmount currencyID=\"EUR\">100.00</cbc:LineExtensionAmount>\n    <cac:Item>\n      <cbc:Name>Workplace safety handbook</cbc:Name>\n      <cac:ClassifiedTaxCategory>\n        <cbc:ID>S</cbc:ID>\n        <cbc:Percent>9</cbc:Percent>\n        <cac:TaxScheme>\n          <cbc:ID>VAT</cbc:ID>\n        </cac:TaxScheme>\n      </cac:ClassifiedTaxCategory>\n    </cac:Item>\n    <cac:Price>\n      <cbc:PriceAmount currencyID=\"EUR\">20.00</cbc:PriceAmount>\n    </cac:Price>\n  </cac:InvoiceLine>\n</Invoice>\n"
      },
      "web_page": "https://codelint.dev/fintech/einvoice-viewer"
    },
    {
      "name": "loan_payment",
      "title": "Loan / mortgage payment (EMI)",
      "category": "Finance arithmetic",
      "description": "Compute the fixed monthly payment on an amortising loan or mortgage (the EMI), plus total interest and total repaid, using the standard annuity formula. Optionally returns the first months of the amortisation schedule showing the interest/principal split. Use it instead of estimating — compounding makes mental arithmetic unreliable here.",
      "endpoint": "https://codelint.dev/api/v1/tools/loan_payment",
      "method": "POST",
      "input_schema": {
        "type": "object",
        "properties": {
          "principal": {
            "type": "number",
            "description": "Amount borrowed.",
            "minimum": 0.01,
            "maximum": 1000000000000
          },
          "annual_rate_percent": {
            "type": "number",
            "description": "Nominal annual interest rate in percent, e.g. 6.5. Use 0 for an interest-free loan.",
            "minimum": 0,
            "maximum": 1000
          },
          "term_months": {
            "type": "integer",
            "description": "Loan term in months (a 30-year mortgage is 360).",
            "minimum": 1,
            "maximum": 1200
          },
          "schedule_months": {
            "type": "integer",
            "description": "How many months of the amortisation schedule to include.",
            "default": 0,
            "minimum": 0,
            "maximum": 120
          }
        },
        "required": [
          "principal",
          "annual_rate_percent",
          "term_months"
        ],
        "additionalProperties": false
      },
      "example": {
        "principal": 250000,
        "annual_rate_percent": 6.5,
        "term_months": 360,
        "schedule_months": 3
      },
      "web_page": "https://codelint.dev/fintech/loan-emi-calculator"
    },
    {
      "name": "compound_interest",
      "title": "Compound interest / savings growth",
      "category": "Finance arithmetic",
      "description": "Project the future value of a lump sum with compound interest, optionally with a fixed contribution added at the end of every month (a savings plan or SIP). Returns the final value, total contributed, interest earned and a year-by-year balance.",
      "endpoint": "https://codelint.dev/api/v1/tools/compound_interest",
      "method": "POST",
      "input_schema": {
        "type": "object",
        "properties": {
          "principal": {
            "type": "number",
            "description": "Starting amount.",
            "minimum": 0,
            "maximum": 1000000000000
          },
          "annual_rate_percent": {
            "type": "number",
            "description": "Nominal annual rate of return in percent.",
            "minimum": -99,
            "maximum": 1000
          },
          "years": {
            "type": "number",
            "description": "Investment horizon in years.",
            "minimum": 0.0833,
            "maximum": 100
          },
          "compounds_per_year": {
            "type": "integer",
            "description": "Compounding periods per year (1 annual, 4 quarterly, 12 monthly, 365 daily).",
            "default": 12,
            "enum": [
              1,
              2,
              4,
              12,
              52,
              365
            ]
          },
          "monthly_contribution": {
            "type": "number",
            "description": "Amount added at the end of each month.",
            "default": 0,
            "minimum": 0,
            "maximum": 10000000000
          }
        },
        "required": [
          "principal",
          "annual_rate_percent",
          "years"
        ],
        "additionalProperties": false
      },
      "example": {
        "principal": 10000,
        "annual_rate_percent": 7,
        "years": 20,
        "monthly_contribution": 300
      },
      "web_page": "https://codelint.dev/fintech/compound-interest"
    },
    {
      "name": "cagr",
      "title": "Compound annual growth rate",
      "category": "Finance arithmetic",
      "description": "Compute the compound annual growth rate (CAGR) between a starting and ending value over a number of years — the single constant yearly rate that would produce the same result. Also returns the total return and growth multiple. The correct way to annualise multi-year growth; an arithmetic average overstates it.",
      "endpoint": "https://codelint.dev/api/v1/tools/cagr",
      "method": "POST",
      "input_schema": {
        "type": "object",
        "properties": {
          "start_value": {
            "type": "number",
            "description": "Value at the start. Must be positive.",
            "minimum": 1e-9,
            "maximum": 1000000000000000
          },
          "end_value": {
            "type": "number",
            "description": "Value at the end.",
            "minimum": 0,
            "maximum": 1000000000000000
          },
          "years": {
            "type": "number",
            "description": "Length of the period in years (fractions allowed).",
            "minimum": 0.01,
            "maximum": 200
          }
        },
        "required": [
          "start_value",
          "end_value",
          "years"
        ],
        "additionalProperties": false
      },
      "example": {
        "start_value": 10000,
        "end_value": 19500,
        "years": 5
      },
      "web_page": "https://codelint.dev/fintech/cagr-calculator"
    },
    {
      "name": "iban_validate",
      "title": "Validate an IBAN",
      "category": "Finance arithmetic",
      "description": "Check an International Bank Account Number: country code, the exact length that country requires, and the ISO 7064 mod-97 check digits. Returns the country and the IBAN in standard 4-character groups, or the specific reason it is invalid. Structural validation only — it cannot tell you whether the account exists.",
      "endpoint": "https://codelint.dev/api/v1/tools/iban_validate",
      "method": "POST",
      "input_schema": {
        "type": "object",
        "properties": {
          "iban": {
            "type": "string",
            "description": "The IBAN. Spaces and hyphens are ignored.",
            "maxLength": 64
          }
        },
        "required": [
          "iban"
        ],
        "additionalProperties": false
      },
      "example": {
        "iban": "GB82 WEST 1234 5698 7654 32"
      },
      "web_page": "https://codelint.dev/fintech/iban-validator"
    }
  ]
}