Validate a CNPJ offline
validate_cnpjValidates the format and check digits of a numeric or alphanumeric CNPJ offline, without network calls. Confirms a number is well-formed before you query company registry details.
Instructions
Checks the format and the check digits of a CNPJ (numeric or alphanumeric) without any network call. A valid number is not proof that the company exists: use lookup_cnpj for that.
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": {
"cnpj": "<cnpj>"
},
"name": "validate_cnpj"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cnpj | Yes | CNPJ with or without punctuation |