Validate payment card number
validate_cardLuhn check and network detection (Visa, Mastercard, Amex, Discover, Diners, JCB, UnionPay, Maestro, Mir). Returns masked output only; nothing is stored.
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 | The card number (use test numbers). e.g. 4111111111111111 |