download_media
Downloads a Notion-hosted or external media URL or image, file, or PDF block ID to local disk so you can save attachments locally.
Instructions
Download a Notion-hosted or external media URL or image/file/pdf block ID to local disk. Cost: downloads the whole file to disk; large files take proportionally longer.
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": {
"target": "<target>"
},
"name": "download_media"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | Yes | Direct media URL or Notion block ID | |
| out_dir | No | Optional destination directory |