Get Layer Tree
get_layer_treeRetrieve the complete QGIS layer tree with groups, layers, types, names, visibility, and child nodes to inspect project structure before layer management or editing.
Instructions
Get the full layer tree structure with groups and layers. Returns recursive tree with type, name, visibility, and children.
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_layer_tree"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||