lookup_pincodes
Validate and look up 1–25 Indian PIN codes in one call, returning state, district, division, region, postal circle, and post offices with office type and delivery status.
Instructions
Validate and look up 1 to 25 Indian PIN codes in one call. Each match returns state, district, division, region, postal circle and the post offices under that PIN with their type (HO head, SO sub, BO branch office) and whether they deliver mail. PINs that are not 6 digits are reported under 'invalid_format' without a request; well-formed PINs that India Post does not know are under 'not_found'. detail='full' adds each office's block and raw fields. Use search_post_offices when you only have a locality name.
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": {
"pincodes": "<pincodes>"
},
"name": "lookup_pincodes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| detail | No | 'summary' (default) lists office names compactly. | summary |
| pincodes | Yes | PIN codes such as ['110001', '560001']. |