validate_rut_cl
Validates Chilean RUT tax IDs via modulo-11 checksum. Returns valid boolean, rut, check digit, or reason for failure. Accepts formats with or without dots and dash.
Instructions
Validates a Chilean RUT (Rol Único Tributario) — the tax identification number used by individuals and companies in Chile, issued by the SII (Servicio de Impuestos Internos). Applies the official modulo-11 checksum algorithm with check digit 'K' support. Returns { valid: boolean, rut: string, check_digit: string } or { valid: false, reason: string }. Use when processing Chilean DTE electronic invoices, supplier registration, or any Chilean tax compliance workflow. Accepts formats with or without dots and dash.
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": {
"rut": "<rut>"
},
"name": "validate_rut_cl"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rut | Yes | Chilean RUT with or without formatting. Example: '12.345.678-9' or '12345678-9' or '123456789' |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| valid | Yes | ||
| rut | No | ||
| check_digit | No | ||
| reason | No |