search_text
Search for text across the document body, footnotes, and comments, with optional regex support. Returns matching paragraphs with context.
Instructions
Search for text across the document body, footnotes, and comments.
Args: query: Text to search for (case-insensitive), or a regex pattern. regex: If true, treat query as a Python regular expression.
Returns matching paragraphs with their paraId, source part, and context.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | ||
| regex | No | ||
| document_handle | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |