validate_card
Validate a payment card number locally: Luhn check, length, network detection (Visa, Mastercard, Amex and more) and test-card detection. No network call is made to any payment processor and the full number is never stored; the result masks all but the first 6 and last 4 digits.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"number": "<number>"
},
"name": "validate_card"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| number | Yes | Card number, spaces and dashes allowed |