notion_upload_file_to_database
Upload a file to a Notion database by creating a new row with the file attached to a specified files & media column. Supports local, shared, drive, or base64 sources.
Instructions
Upload a file and create a NEW row in a Notion database with the file attached to the given files & media column.
source: local:<path>, shared:<filename>,
drive:<name-or-id>, or base64:<bytes> — see
notion_upload_file for scheme details and the
cross-MCP handoff pattern.
files_property: exact name of the files & media column
(e.g. "Files & media"). Use notion_describe_database
to confirm the name — it is case-sensitive.
title: text value for the row's title column.
title_property: override the auto-detected title column name.
filename: override the source filename.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"database_id": "<database_id>",
"source": "<source>",
"files_property": "<files_property>",
"title": "<title>"
},
"name": "notion_upload_file_to_database"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | Yes | ||
| source | Yes | ||
| filename | No | ||
| database_id | Yes | ||
| files_property | Yes | ||
| title_property | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |