upload_to_notion_at
Upload a file to a Notion page and insert it as an image or file block after a placeholder token or a specific block ID, or attach as cover/icon.
Instructions
Upload a file and insert an image/file block immediately AFTER a placeholder or a specific block_id
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| caption | No | Caption for the uploaded file | |
| block_id | No | Append after this block ID directly | |
| 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 | |
| placeholder | No | Anchor token placed in the document (e.g. {{IMG_PLACEHOLDER:1:slug}}) | |
| page_id_or_url | Yes | Notion page ID or page URL (NOT a database view URL) | |
| remove_placeholder | No | If true and placeholder mode, delete the placeholder block after inserting |