Validate a postal code format
validate_postal_codeCheck a postal/ZIP code against the national format for 158 countries, and say so when the country has no postal codes (UAE, Qatar…). Pattern check only. Example: code '11564', country 'SA'. Response: result plus data_confidence (high = check-digit algorithm from a public specification; medium = community-documented checksum or pattern-only; low = structure only), estimated_items[], sources[], data_version and a disclaimer (structural validation only — never proof that an identifier is issued or belongs to someone).
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_code"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | Postal / ZIP code as written. | |
| country | Yes | ISO 3166-1 alpha-2 country code, e.g. 'SA', 'GB', 'US'. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||