Normalize Israeli postal code
normalize_israeli_postal_codeValidate and format Israeli 7-digit postal codes by accepting digits with optional spaces or dashes and returning both plain digits and XX-XXX-XX formatting.
Instructions
Validate and format an Israeli 7-digit postal code (מיקוד, post-2013). Accepts digits with optional spaces/dashes; returns digits and XX-XXX-XX formatting.
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": "normalize_israeli_postal_code"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| postalCode | Yes | Postal code as written, e.g. '12-345-67' or '1234567' |