apply_changes
Apply staged changes to a document atomically, choosing all or specific change IDs, then retrieve the updated document hash and warnings for unmodeled features.
Instructions
Commit staged changes to the file (all, or selected change ids).
Writes atomically, re-reads the file and returns the new doc_hash plus warnings about unmodeled features present in the document.
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": {
"path": "<path>"
},
"name": "apply_changes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| doc_hash | No | ||
| change_ids | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||