Upload a photo or video (step 1)
start_media_uploadStart uploading the owner's own photo or video. Returns, per file, an upload_id and a URL to PUT the bytes to. Then call complete_media_upload, wait until get_media_upload says ready, and pass the upload_id in create_post's media. Changes the owner's account.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"files": "<files>"
},
"name": "start_media_upload"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| files | Yes | ||
| brand_id | No | Optional business id from list_brands (default: this connection's business). |