Find text
find_textLocate text in Office documents with case-insensitive substring search across all content, returning exact addresses such as paragraph IDs, slide numbers, or sheet cells.
Instructions
Case-insensitive substring search over every text-bearing part the digest covers, returning the best address this build can give for each hit: paragraph id or index and hash for docx, slide id for pptx, sheet and cell for xlsx. Results come from the session's working copy as opened; verify is what reports on the file currently on disk.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| part | No | ||
| query | Yes | ||
| session_id | Yes | ||
| max_results | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| part | Yes | ||
| query | Yes | ||
| matches | Yes | ||
| truncated | Yes | ||
| session_id | Yes | ||
| baseline_digest | Yes | The canonical digest of this document AS IT WAS WHEN THE SESSION WAS OPENED, and of the working copy these results were read from — not an attestation about the file on disk right now. Call `verify` or `digest` for that. | |
| document_may_have_changed_since_open | Yes | True when the document FILE on disk no longer has the size and modification time it had when this session last touched it — so these results may describe a version that no longer exists. It reports writes from OUTSIDE this session: this server re-records both values after each of its own edits, so applying an edit here does not set it. A HINT, not a verification: it is also true after a save that changed nothing, and a rewrite that preserved both would not set it. Call `verify` for an answer about the file as it stands. |