notion_render_file_page
Render a specific PDF page as an image for visual validation of charts, layouts, and scanned content when text extraction isn't enough.
Instructions
Render one page of a PDF (from Notion, shared, local, or Drive) as a viewable image. The default return is a real MCP image content block, so you SEE the page directly — for a scanned document this is often all you need. Use when notion_extract_file_text isn't enough: charts, stamps, layouts, visual validation.
source schemes as in notion_extract_file_text ('notion:', 'shared:', 'local:', 'drive:').
Set return_base64=True for a JSON envelope {"image_base64", "mime_type", "width", "height", "page", "page_count", "filename"} instead (for relaying bytes programmatically). Errors return a JSON string with an "error" key in both modes.
page: 1-indexed. max_width: 200..4000 px (default 1200). format: 'jpeg' (default) or 'png'. quality: JPEG 1..100 (default 75).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | ||
| format | No | jpeg | |
| source | Yes | ||
| quality | No | ||
| max_width | No | ||
| return_base64 | No |