Plan file operations
crabrix_plan_changesPreview up to 32 file operations against the current project without making changes, returning affected files, the resulting project, revision, and plan hash to validate before applying.
Instructions
Format 2 rooms only. Check up to 32 file operations against the current project without changing anything: create, copy, write, move, moveFolder, delete (the text stays in recovery), deleteFolder, restore, purge (clears a recovery row), setEntry, setEdition, setName. Name a file by its id from status or snapshot, or by its shown path. Returns what would change, the project afterwards, the revision it read and a planHash. Apply the same operations with crabrix_apply_operations. Moving a Rust file does not rewrite mod, #[path] or include_str! references.
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": {
"operations": "<operations>"
},
"name": "crabrix_plan_changes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| operations | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | Yes | ||
| planHash | Yes | ||
| revision | Yes |