aidelly_upload_media
Default image-attach path for MCP: upload media in one step, server-side, with no client-to-Supabase connection required. Preferred for all browser-based chat clients (ChatGPT, Claude.ai) and safe for any client. Provide exactly one of source_url (a public HTTPS URL the server fetches — best for anything non-trivial and not subject to a payload size cap), data_url, or file_base64 (small inline images only; large payloads hit the MCP tool-call size limit). Returns media_id and read_url for aidelly_create_post content.media.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | Optional body override for endpoints with sparse parameter schemas. | |
| query | No | Optional query overrides for endpoints with sparse parameter schemas. | |
| folder | No | ||
| brand_id | No | ||
| data_url | No | Data URL such as data:image/png;base64,... | |
| file_name | Yes | ||
| source_url | No | Public HTTPS URL to fetch server-side. | |
| file_base64 | No | Base64-encoded file bytes. | |
| content_type | No | Required when using file_base64 or data_url. | |
| workspace_id | No | Workspace to operate in. Do not ask the user for this UUID — call aidelly_list_workspaces and use the `id` of the matching workspace. Optional for read operations; required when creating content. | |
| idempotency_key | Yes |