edit_document
Replace specific text in documents by identifying exact strings to modify and inserting new content, enabling precise document editing through string substitution.
Instructions
Edit a document by replacing a string in the documents content with a new string
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| doc_id | Yes | Id of the document that will be edited | |
| old_str | Yes | The text to replace. Must match exactly, including whitespace | |
| new_str | Yes | The new text to insert in place of the old text |