Validar NIF
validate_nifValidate a Portuguese NIF by checking its structure and control digit, and identify the taxpayer type.
Instructions
Valida um NIF português (estrutura, dígito inicial e dígito de controlo) e devolve o tipo de contribuinte.
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": {
"nif": "<nif>"
},
"name": "validate_nif"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nif | Yes | NIF a validar, ex.: "123456789" ou "PT123456789" |