search_text
Find specific text within an HWP document and get the number of matches. Accepts document ID, search query, and case sensitivity option.
Instructions
Search for text in the document.
Args: doc_id: Document ID from open_document query: Text to search for case_sensitive: Whether the search is case sensitive
Returns: Number of matches found
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | ||
| doc_id | Yes | ||
| case_sensitive | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||