Normalize a Vietnamese address to the new administrative units
normalize_addressConvert Vietnamese addresses from old ward-district-province or new ward-province formats into the current 2-level structure, preserving street details and handling diacritics and abbreviations.
Instructions
Takes a free-text, comma-separated Vietnamese address in either the OLD format (ward, district, province - before 1 July 2025) or the NEW format (ward, province) and returns it in the current 2-level structure (34 provinces, no districts), keeping the street part. Handles missing diacritics, abbreviations (P., Q., TP.HCM) and a street glued to the ward. Chuẩn hóa địa chỉ / đổi địa chỉ cũ sang địa chỉ mới sau sáp nhập tỉnh, bỏ cấp huyện. Returns status ok | ambiguous | not_found, a confidence level, alternatives for divided wards, and suggestions for typos.
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": {
"address": "<address>"
},
"name": "normalize_address"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| address | Yes | Address with components separated by commas, e.g. "12 Lê Lợi, Phường Bến Nghé, Quận 1, TP.HCM". |