docs_delete_paragraph
Delete every paragraph that contains a specified text anchor, removing unwanted sections without rewriting the entire document.
Instructions
Delete the paragraph(s) containing anchor text.
Deletes ALL paragraphs that contain the anchor string (case-insensitive). If the anchor matches only one paragraph, only that paragraph is deleted.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| anchor | Yes | Text to search for in paragraphs to delete | |
| doc_id | Yes | Google Doc ID |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |