upload_to_notion
Upload local files to Notion pages and attach them as image blocks, file blocks, covers, or icons.
Instructions
Upload a local file to Notion and attach it to a page
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| caption | No | Caption for the uploaded file | |
| property | No | Database 'files' property name (attach to a property instead of appending a block) | |
| attach_as | No | Attach as an image/file block, or page cover/icon | image |
| file_path | Yes | Absolute path to the file to upload | |
| page_id_or_url | Yes | Notion page ID or page URL (NOT a database view URL) |