Chile — Identity document validation (0.40 credits)
chile_api_validateValidate Chilean RUN or RUT document numbers against their card serial to confirm a match. Use when you have the serial; lookup by RUN alone needs an identity lookup.
Instructions
Chile document validation by RUN or RUT plus serial. Returns whether the document number and serial number match. Inputs: documentType RUN or RUT, documentNumber, and serialNumber. Use it when you have the card serial. Use chile_api_identity_lookup if you only have the RUN. Costs 0.40 credits per successful call.
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": {
"documentType": "<documentType>",
"documentNumber": "<documentNumber>",
"serialNumber": "<serialNumber>"
},
"name": "chile_api_validate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| documentType | Yes | Government-issued document type code for this country. | |
| serialNumber | Yes | ||
| documentNumber | Yes | Document number. Dots, dashes, and spaces are accepted and ignored for length checks. |