document_replace_text
Find and replace text in LibreOffice Writer documents. Specify text to locate and replacement content, with options for case sensitivity and replacing all occurrences.
Instructions
Find and replace text in a Writer document. Optionally replace all occurrences.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| docId | Yes | Document handle returned by document_open | |
| find | Yes | Text to find (case-sensitive by default) | |
| replace | Yes | Replacement text | |
| replaceAll | No | Replace all occurrences (default: true) | |
| caseInsensitive | No | Case-insensitive matching |