Get Active Layer
get_active_layerRetrieve the currently selected layer in the QGIS layer panel to identify which layer edits, styling, or analysis should target.
Instructions
Get the currently active (selected) layer in the QGIS layer panel.
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_active_layer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||