map_campuses_within_district
Display campuses within a school district on an interactive map, with filters for charter/ISD/private status and boundary download.
Instructions
Map-focused alias for within-boundary queries. Use this when the user asks to show campuses on an interactive map; supports status filters (charter/isd/private). Returns campus points plus a boundary_reference download_url. response_profile defaults to 'map' for compact GeoJSON-only responses. campus_list_format controls how list outputs are compacted. Responses paginate via cursor/next_cursor. When lists are returned, payload.table and payload.exports provide deterministic tables and CSV/JSON export; if payload.completeness.needs_follow_up is true, follow next_tool_call before finalizing. Example: "Show campuses within Austin ISD on a map".
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| cursor | No | Pagination cursor (number of matched campuses to skip). Use pagination.next_cursor from prior response. | |
| status | No | all | |
| campus_query | No | Optional filter against campus name/number/district/charter label (e.g., IDEA). | |
| include_total | No | Include total_matches for pagination awareness. | |
| include_geojson | No | ||
| response_profile | No | Choose 'map' for GeoJSON points, 'list' for campuses only, 'both' for both. | map |
| boundary_delivery | No | Use 'reference' to return a Census TIGERweb download URL; 'inline' returns full boundary GeoJSON (may be large). | reference |
| campus_list_format | No | Choose list output: full summaries, campus_number only, or campus_number + name. | id_name |
| campus_meta_fields | No | Optional list of campus meta keys to include under campuses[].meta and geojson.properties.meta. | |
| max_response_bytes | No | Soft cap on response size in bytes. Set to 0 to disable trimming. | |
| district_identifier | Yes | District name or number used to locate boundaries. | |
| include_campus_geometry | No |