Upload local file or external URL to R2 storage
Execute the upload_media Social Neuron tool. Upload local file or external URL to R2 storage. Required OAuth scope: mcp:write.
Upload local file or external URL to R2 storage › Request Body
sourceLocal file path (e.g. "/Users/me/image.png") or public URL (e.g. "https://example.com/photo.jpg"). Leave empty when passing file_data instead.
file_dataBase64-encoded file bytes, with or without a "data:
file_nameOptional filename for the upload (e.g. "hero.png"). Path components are stripped — only the basename is used.
content_typeMIME type (e.g. "image/png", "video/mp4"). Auto-detected from file extension for paths/URLs, or from the data: prefix on file_data. Required when passing raw base64 with no prefix.
project_idProject ID used to verify ownership and associate the upload. Effectively REQUIRED — the service rejects requests with no verified project/organization scope. Omit only if you are certain the account has exactly one project.
response_formatResponse format. Default: text.
Upload local file or external URL to R2 storage › Responses
Tool executed. isError:true in the body indicates a tool-level error.
isErrorSign an R2 key to get a fresh download URL
Execute the get_media_url Social Neuron tool. Sign an R2 key to get a fresh download URL. Required OAuth scope: mcp:read.
Sign an R2 key to get a fresh download URL › Request Body
r2_keyDurable media key returned by upload_media or check_status.
job_id^([0-9a-fA-F]{8}-[0-…An async job ID from check_status. The server resolves the job to its stored media key — use this when the raw key fails to sign (legacy key formats).
response_formatResponse format. Default: text.
Sign an R2 key to get a fresh download URL › Responses
Tool executed. isError:true in the body indicates a tool-level error.
isError