Delete blocks
geml_deleteRemove one or more blocks by id from a GEML document, returning diagnostics and a revision. Use it to delete specific blocks without affecting other content.
Instructions
Remove one or more blocks by id. To undo a deletion, geml_revert the removed id; to change a block rather than remove it, use geml_set. References left pointing at a removed block come back as diagnostics but do NOT block the deletion — read them, then repair the references or revert. An id that matches nothing is skipped, so repeating a call changes nothing. Returns {ok, file, diagnostics, revision}, with notes when the write did something to say out loud (a block it dropped, an address it changed); a refusal is ok: false with a hint, and the file is unchanged.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ids | Yes | Block ids to remove | |
| file | Yes | Document path relative to the server's --root directory, e.g. notes/spec.geml |