Get Edit Status
get_edit_statusRetrieve a QGIS layer's edit state—editable and modified status, undo/redo availability, plus counts of pending added, deleted, or changed features—to guide safe editing.
Instructions
Edit state of a layer: editable, modified, undo/redo availability, and the counts of pending added/deleted/changed features.
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": "get_edit_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| layer_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||