Edit document
edit-documentEdit a document by exact text replacement. old_string must match exactly once against the document as it currently stands (read it first with get-document). The edit lands in the document immediately — anyone with it open sees it — but is NOT published: it reaches repos only when publish-document is called.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| document | Yes | The document target (find it with list-documents) | |
| new_string | Yes | The replacement text | |
| old_string | Yes | The exact text to replace — must match the document exactly once, including whitespace |