Find Layer
find_layerLocate QGIS layers by name pattern using fnmatch wildcards or substring matching, so you can target the right layer for editing, styling, or processing.
Instructions
Find layers by name pattern. Supports fnmatch wildcards (e.g. 'roads*') and substring matching.
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": {
"name_pattern": "<name_pattern>"
},
"name": "find_layer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name_pattern | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||