Autocomplete a Nigerian postcode
autocomplete_postcodeSuggests the next segment of a partly typed Nigerian postcode while a user types, helping complete NIPOST codes before validation or lookup.
Instructions
Suggest the next segment of a partly typed Nigerian postcode. Free.
Use it while a user is still typing or only knows the start of their code. For a complete code, use validate_postcode, then lookup_postcode.
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": {
"partial": "<partial>"
},
"name": "autocomplete_postcode"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| partial | Yes | The start of a code, e.g. 'EK 01 A'. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| segment | Yes | The segment being completed. | |
| suggestions | Yes |