notion_download_file
Retrieve file blocks from Notion and save to local store, shared mount, Drive, or inline base64, facilitating cross-server transfers such as emailing attachments.
Instructions
Download a file from a Notion file/image/pdf/video/audio block.
destination is one of: local, shared, drive, base64.
• local — the notion-mcp private store (FILES_DIR).
• shared — the cross-MCP shared mount, immediately attachable by
google-accounts-mcp as attachments=['shared:'] on
draft_email / send_email. 24h TTL applies.
• drive — upload to the shared Drive folder (DRIVE_FOLDER_NAME).
• base64 — inline; subject to MCP response size limits.
filename overrides the inferred name. When destination=local, filename
may include subdirectories (e.g. reports/q3.pdf); they are created
under the local store. Use notion_list_files_on_page to find block IDs.
Cross-MCP file transfer (Notion → Gmail)
To email a file stored in Notion:
notion_download_file(block_id, destination='shared')
google-accounts-mcp draft_email(..., attachments=['shared:']) Bytes never traverse MCP parameters — no size limits.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| block_id | Yes | ||
| filename | No | ||
| destination | No | local |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |