Commit Edits
commit_editsSave pending edits for a QGIS layer by committing its edit buffer to the data source and closing the edit session.
Instructions
Commit the layer's edit buffer to the data source and close the edit session.
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": "commit_edits"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| layer_id | Yes |