Check Luhn
check_luhnRun a raw Luhn (mod-10) check-digit validation on any numeric string (cards, IMEI, national IDs, etc.). Returns whether the check digit is valid and what the correct check digit would be.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"number": "4111111111111111"
},
"name": "check_luhn"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| number | Yes | A numeric string to Luhn-check. |