validate_postal
Postal-code grammar by country (54 shipped patterns): valid + canonical spacing (BR CEP, CA A1A 1A1, NL 1234 AB, JP, PT) + the regex on failure. Structure check, not a postcode oracle — the verdict says which. Free.
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": {
"code": "<code>",
"country": "<country>"
},
"name": "validate_postal"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | ||
| country | Yes |