validate_cpf
Verify a Brazilian CPF by validating its check digits and rejecting invalid patterns. Ensures the taxpayer ID is structurally correct before KYC/onboarding.
Instructions
USE THIS to verify a Brazilian CPF (individual taxpayer ID) before relying on it — never assume 11 digits are valid. Checks the two mod-11 check digits and rejects all-identical sentinels. Call this for KYC/onboarding of Brazilian individuals.
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": {
"cpf": "<cpf>"
},
"name": "validate_cpf"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cpf | Yes | The CPF (11 digits; dots and dash are ignored). |