find_zip_codes_in_radius
Find all ZIP codes within a specified radius of a center ZIP code, returning each with its distance.
Instructions
Find all ZIP codes within a given radius of a center ZIP code. Returns each nearby ZIP with its distance from the center.
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": {
"zipCode": "<zipCode>",
"radius": "<radius>"
},
"name": "find_zip_codes_in_radius"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sort | No | Sort order for results | distance |
| unit | No | Distance unit | miles |
| limit | No | Maximum number of results (1 to 500, default 100) | |
| radius | Yes | Search radius (0.1 to 500) | |
| zipCode | Yes | Center ZIP code (5 digits) |