validate_lei
Validate an LEI code by checking format, check digit, and database status. Returns whether the LEI is valid and active, with a reason if invalid.
Instructions
Check if an LEI code is valid and active. USE WHEN: "is this LEI valid?", "verify LEI", "check LEI format". Performs format (20 chars), check digit (ISO 17442), and database status checks. For full entity details, use lei_lookup instead. NOTE: Never returns an error for invalid LEIs; returns valid=false with a reason message instead. Safe to call on untrusted input.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lei | Yes | LEI code to validate |