get_layers
List all layers, draw order, group nesting, and standalone tables in an ArcGIS Pro map to inspect project contents before editing or querying.
Instructions
List the layers (with draw order and group nesting) and standalone tables in a map. Start here to see what is in the project.
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": "get_layers"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| map_name | No | Map to act on; defaults to the active map. | |
| include_basemap | No | Include basemap layers. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |