Split an IBAN into its parts
iban_partsChecks an IBAN and returns what is inside it: country, check digits, the national number (BBAN) and, for DE, AT, CH, NL, BE, ES, FR, IT, GB, IE, PT, LU, GR, DK, PL, NO, the bank code, branch code, account number and national check digits. For other countries only the country, check digits and BBAN are returned (known_layout is false).
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": "iban_parts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| iban | Yes | The IBAN, with or without spaces. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bban | No | ||
| iban | No | ||
| valid | Yes | ||
| reason | No | ||
| country | No | ||
| message | No | ||
| bank_code | No | ||
| formatted | No | ||
| branch_code | No | ||
| check_digits | No | ||
| known_layout | No | ||
| account_number | No | ||
| national_check_digits | No | ||
| account_number_without_leading_zeros | No |