upload_media
Upload an image or video to Social0 and get a media ID for posts. For remote AI hosts (Claude.ai, ChatGPT), pass url (public direct file URL) or data (base64). file_path only works when the MCP server can read that path on its own machine.
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 |
|---|---|---|---|
| url | No | Public http(s) URL to download. Must be a direct file link the server can fetch. | |
| data | No | Base64 file bytes or a data: URL (data:image/png;base64,...). | |
| filename | No | Filename with extension (required for bare base64 data; optional for url). | |
| file_path | No | Local path on the MCP server machine. Do not use for remote sandboxes. | |
| mime_type | No | MIME type if not clear from filename/url (e.g. image/png). |