Validate IBAN or BIC
validate_identifierValidate a single IBAN or BIC identifier and get a clear pass/fail result with error reason. Use for one-off checks of financial identifiers before payment processing.
Instructions
Validate a single financial identifier (IBAN or BIC).
Use this for a one-off identifier check with a clear pass/fail and
reason. To validate identifiers embedded across a whole batch, prefer
``validate_records`` / ``validate_payment_scheme`` instead of calling
this per field.
Returns ``{"kind": str, "value": str, "valid": bool, "error": str}``
(the ``error`` key is present only when ``valid`` is ``False``).
Args:
kind: One of ``"iban"`` or ``"bic"`` (case-insensitive).
value: The identifier value to check.
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": {
"kind": "<kind>",
"value": "<value>"
},
"name": "validate_identifier"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | Which identifier to validate: 'iban' or 'bic' (case-insensitive). Any other value returns an error. | |
| value | Yes | The identifier string to check — an IBAN or BIC/SWIFT code matching the chosen kind. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | ||
| error | No | ||
| valid | No | ||
| value | No |