Validar CUSIP
cusip-validateValida un CUSIP de 9 caracteres con su dígito de control. Cuándo: hay que verificar sin conexión el formato y el dígito de control de un identificador antes de usarlo. No para: validar un IBAN (iban-validate). Efectos secundarios: ninguno (solo lectura, sin red, sin estado guardado). Determinista: la misma entrada da la misma salida. Límites: entrada JSON de hasta 64 KB, 1 s por llamada, resultado de hasta 1 MB.
EN: Validates a 9-character CUSIP (US/Canada security identifier) with its modulus-10 double-add-double check digit. When: an identifier's format and check digit have to be verified offline before it is used. Not for: validating an IBAN (iban-validate). Side effects: none (read-only, no network access, no stored state). Deterministic: the same input gives the same output. Limits: JSON input up to 64 KB, 1 s per call, result up to 1 MB.
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": {
"cusip": "<cusip>"
},
"name": "cusip-validate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cusip | Yes | CUSIP (string; required; up to 12 chars). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| issue | No | ||
| valid | No | ||
| issuer | No |