export_map_view
Render the active map view to a PNG image for visual inspection, returning it inline. Requires an open map tab in ArcGIS Pro.
Instructions
Render the map view to PNG and return the image so it can be looked at -- the way to visually check a map. Requires the map's tab to be open in ArcGIS Pro.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "export_map_view"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dpi | No | Resolution. | |
| width | No | Image width in pixels. | |
| height | No | Image height in pixels. | |
| map_name | No | Map to act on; defaults to the active map. | |
| output_path | No | Optional file to save to; omit for a temporary image. | |
| return_image | No | Return the image inline. | |
| zoom_to_layer | No | Zoom to this layer before exporting. |