Rewrite a free-form address to the new units
normalize_addressParse a free-form Vietnamese address line (street, commune, district, province; with or without diacritics, commas or abbreviations) and rewrite it with the post-reform units: drops the district and replaces the old commune and province. Returns status (converted, already_new, province_level when only a province was given, ambiguous, partial when the commune is missing, e.g. a district alone, not_found), confidence, the rewritten address, all candidates when ambiguous, which parts were recognised and which were not. Never invents a unit. Examples: {"address":"12 Nguyễn Huệ, P. Bến Nghé, Q.1, TP.HCM"}; {"address":"so 1 phu cuong thu dau mot binh duong"}.
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 | Free-form Vietnamese address, with or without diacritics, e.g. "12 Nguyễn Huệ, P. Bến Nghé, Q.1, TP.HCM" or "so 1 phu cuong thu dau mot binh duong". |