upload_media
Upload media files up to 50MB from a local path or remote URL into the CMS library, returning an asset URL for blocks 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.
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 |