find_text
Locate all occurrences of text in a PowerPoint deck, returning exact slide, shape, paragraph, and character positions. Supports regex safely and matches displayed text, so you can point edits precisely.
Instructions
Search the deck's text. Returns every match with slide index, shape id, paragraph index, and character offsets, exactly the addresses format_text and apply_edits consume. regex=True treats query as a regular expression (guarded against catastrophic backtracking). Matches text as displayed, not raw XML, so search for & rather than &. Formatting-aware replacement lives in the graphics pack: enable_tools(packs=['graphics']).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | ||
| regex | No | ||
| scope | No | ||
| file_path | Yes | ||
| include_notes | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||