Validar código postal
validate_postal_codeChecks if a Portuguese postal code follows the official NNNN-NNN format, returning validation result.
Instructions
Valida o formato de um código postal português (CP7, NNNN-NNN).
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": {
"postalCode": "<postalCode>"
},
"name": "validate_postal_code"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| postalCode | Yes | Código postal, ex.: "1000-001" |