Validate IBAN, BIC or LEI
validate_identifierValidate a single financial identifier - IBAN, BIC, or LEI - and get a clear pass/fail result. Use for one-off checks.
Instructions
Validate a single financial identifier (IBAN, BIC, or LEI).
Use this for a one-off identifier check with a clear pass/fail. To validate
identifiers embedded across a whole batch of records, prefer
``validate_records`` rather than calling this per field.
Returns ``{"kind": str, "value": str, "valid": bool}``.
Args:
kind: One of ``"iban"``, ``"bic"``, or ``"lei"`` (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 | The financial identifier type to validate (case-insensitive). Must be exactly one of: 'bic', 'iban', 'lei'. | |
| value | Yes | The identifier value to check, matching the chosen kind (e.g. an IBAN, an 8- or 11-character BIC, or a 20-character LEI). Whitespace/case handling follows the underlying validator. |