editor_apply_edit
Apply a previously previewed edit after verifying the original document, entity, and value. Use it to commit a staged property change without saving the file.
Instructions
Apply a previously previewed edit after checking the original document, entity and value. Does not save. Requires SERIOUS_EDITOR_ALLOW_MUTATION=1. On timeout, inspect editor_edit_status before retrying.
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": {
"editId": "<editId>"
},
"name": "editor_apply_edit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| editId | Yes | Token returned by editor_preview_edit; never invent one. |