Search locations
pinmeto_search_locationsSearch all locations by name, address, store ID, or descriptor. Returns lightweight results for quick discovery.
Instructions
Search ALL locations by name, address, store ID, or location descriptor. Returns lightweight results for quick discovery. Use pinmeto_get_location with storeId for full details.
Error Handling:
Network issues: errorCode="NETWORK_ERROR", retryable=true
Auth failure (401): errorCode="AUTH_INVALID_CREDENTIALS"
All errors: check structuredContent.errorCode and .retryable for programmatic handling
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum results to return (default: 20, max: 100) | |
| query | Yes | Search query - matches against name, storeId, locationDescriptor, street, city, or country | |
| response_format | No | Response format: "json" (default, token-efficient) or "markdown" (human-readable with tables) | json |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | Matching locations with minimal data for discovery (absent on error) | |
| error | No | Error message if the request failed | |
| hasMore | No | Whether more results exist beyond the limit | |
| errorCode | No | Error code for programmatic handling | |
| retryable | No | Whether the operation can be retried | |
| totalMatches | No | Total number of locations matching the query |