Update the connected editor
crabrix_apply_changesAtomically applies file changes at the exact expected revision; conflicts leave files unchanged, so reread and revise before retrying.
Instructions
Atomically apply file changes to the exact expected revision. text=null deletes a file. edition sets the Rust edition; changes may be empty when entryFile, name or edition changes. A conflict changes nothing: read again and revise. Changes appear live in connected Crabrix/browser editors. In a format 2 room an existing path writes that file, a new path creates one and text=null moves it to recovery; rename, move or restore with crabrix_plan_changes. This never runs code, saves an account copy or pushes Git.
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": {
"expectedRevision": "<expectedRevision>",
"changes": "<changes>"
},
"name": "crabrix_apply_changes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| changes | Yes | ||
| edition | No | ||
| entryFile | No | ||
| expectedRevision | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| changed | Yes | ||
| revision | Yes |