Commit Edits
commit_editsSave a layer's pending edits to its data source and close the edit session, finalizing changes made during an editing session in QGIS.
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 |