render_page
Render a PDF page as an image and highlight a passage to show the exact source location.
Instructions
Render a PDF page as an image, optionally with a passage highlighted. Use after search/get_page to SHOW the user the exact source location.
Args: doc_id: document id from search/list_documents. page: 1-based page number. highlight: passage to highlight. Verbatim raw-chunk text from search() always works; paraphrases usually work too — matching falls back exact -> sentence pieces -> fuzzy word alignment -> semantic (embeds the text and highlights the nearest raw chunk on this page). Returns the image plus a highlight_method report. "" = no highlighting.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | Yes | ||
| doc_id | Yes | ||
| highlight | No |