validate_iban
Validate an IBAN. Checks the country's length from the IBAN registry and the mod 97-10 check digits. Returns the country, check digits, BBAN and the standard 4-character grouping. Also says whether the country takes part in SEPA (sepa) and, for France, Monaco, Spain, Italy, San Marino, the Netherlands, Belgium and Portugal, checks the national account check digits inside the BBAN (nationalCheck). A wrong check digit or length comes back as valid:false with the reason. 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": {
"iban": "<iban>"
},
"name": "validate_iban"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| iban | Yes | An IBAN, spaces allowed, for example GB82 WEST 1234 5698 7654 32. |