suggest_address
Autocomplete a Portuguese address or postal code. Pass free text (street, optionally locality and door number, e.g. 'av liberdade lisboa 196') or a postal code (e.g. '1000-098'). Returns suggestions with street, localidade (postal locality), concelho, distrito and cp7. When cp7 is null the street spans several postal codes: call resolve_postal_code with art_id and the door number. The beginning of a municipality or large locality name ('lisb', 'carcav') returns that place itself first (art_id 0). A suggestion found after correcting a typo or the street type in q ('rua agusta' or 'avenida augusta lisboa' → Rua Augusta) carries corrected: true.
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": {
"q": "<q>"
},
"name": "suggest_address"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | Yes | Street text (with optional door number) or a 4–7 digit postal code | |
| count | No | Max suggestions |