text_search
Search text within a specific InDesign story using a GREP pattern; returns match positions and context.
Instructions
Search text within a story using a GREP pattern, returning match positions and context
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pattern | Yes | GREP search pattern | |
| timeout | No | ||
| maxResults | No | ||
| storyIndex | Yes | ||
| document_id | No | Which open document to act on: a name (see document_listOpen) or a 0-based index. Defaults to the front document. |