Get Map Info
Export the structure of a map—layers, sources, extent, and metadata—to JSON so you can hand accurate context to AI tools or document your project.
This tool uses arcpy only; no AI calls occur. The JSON it produces is the same information the Generate Python Code tool shares with models.
Usage
- Add the
.pyttoolbox to ArcGIS Pro. - Open Get Map Info.
- Provide the parameters below.
- Run the tool to write a JSON file.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| Map | Map | No | Map to capture. Defaults to the active map. |
| Output JSON Path | String (Path) | Yes | Location for the JSON summary. |
Tips
- Leave Map blank to summarize whatever view you currently have open.
- Paste JSON snippets into AI prompts so the model “knows” your layers before writing a script.