Upload media
upload_mediaUpload a local file or remote URL to the workspace media library and receive the stored asset URL for use in block content and record media fields.
Instructions
Upload a file to the workspace media library from a local path or a remote URL (max 50MB; images, video, audio, PDF and common office documents). Returns the stored asset whose url can be used in block content and record media fields.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "upload_media"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| alt | No | Alt text for the asset | |
| url | No | Remote URL whose content is fetched client-side and uploaded | |
| tags | No | ||
| filePath | No | Local file path to upload, resolved on the machine running the MCP server | |
| filename | No | Stored filename (defaults to the source's basename) | |
| folderId | No | Media folder id to file the asset under |