Move Layer to Group
move_layer_to_groupMove a layer to a specified group in QGIS using the layer ID and group name.
Instructions
Move a layer into a layer group by group name.
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": {
"layer_id": "<layer_id>",
"group_name": "<group_name>"
},
"name": "move_layer_to_group"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| layer_id | Yes | ||
| group_name | Yes |