add_map_frame
Adds a map frame to an ArcGIS Pro layout at a chosen page position and size, letting you place maps for layout composition and export.
Instructions
Add a map frame to a layout at a page position.
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": {
"layout_name": "<layout_name>"
},
"name": "add_map_frame"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | Lower-left X in page units. | |
| y | No | Lower-left Y in page units. | |
| name | No | Element name. | Map Frame |
| width | No | Frame width in page units. | |
| height | No | Frame height in page units. | |
| map_name | No | Map to act on; defaults to the active map. | |
| layout_name | Yes | Layout name. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |