Validate CNPJ
validate_cnpjValidate Brazilian CNPJ check digits and format masked, digits-only, or alphanumeric numbers offline; use it to confirm company identifiers before ERP records or integrations rely on them.
Instructions
Check a CNPJ's check digits and format it (accepts masked, digits-only and the new alphanumeric format). Offline.
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, e.g. 11.222.333/0001-81 |