maxpreps_school_zip_search
Get list MaxPreps schools near a ZIP code. Returns the MaxPreps schools around one five-digit US ZIP code with the same school record shape as maxpreps-school-search: identity, location, colours, mascot, enrollment and each school's sport-season ids. Offset pagination with startFrom; optional name, city and distance filters. Use it when a caller starts from a location rather than a school 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": {
"zipCode": "<zipCode>"
},
"name": "maxpreps_school_zip_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| zipCode | Yes | Required five-digit US ZIP code. | |
| startFrom | No | Optional zero-based offset for offset pagination. Defaults to 0. | |
| searchCity | No | Optional city filter. | |
| searchText | No | Optional school-name filter inside the ZIP radius. | |
| allSeasonId | No | Optional all-season id from maxpreps-sports to scope the returned teams to one season. | |
| maxDistance | No | Optional maximum distance in metres from the ZIP code. | |
| publishedOnly | No | Optional published-only flag. | |
| searchByState | No | Optional search-by-state flag. | |
| sportSeasonId | No | Optional sport-season id to scope the returned teams to one team season. | |
| historicalOnly | No | Optional historical-only flag. | |
| includeDeleted | No | Optional include-deleted flag. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | The tool result payload (shape varies per tool; see each tool's docs resource). |