Remove Layer
remove_layerDelete a layer from the current QGIS project by specifying its layer ID. This operation is irreversible.
Instructions
Remove a layer from the project by its layer ID. This is irreversible.
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>"
},
"name": "remove_layer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| layer_id | Yes |