edit_document
Replace an exact string in a document with new text using its doc_id. Update document content precisely, including whitespace, to fix or modify specific passages.
Instructions
Edit a document by replacing a string in document's content with new string.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| doc_id | Yes | Id of the document that will be edited. | |
| new_str | Yes | The new text to insert in place of the old text. | |
| old_str | Yes | The text to replace. Must match exactly, including whitespace. |