company reserve media
company_reserve_mediaReserve an upload for an existing Agency draft. PUT exact bytes to uploadUrl using ALL uploadHeaders, no API key, then call company_complete_media. Use Company IDs only. For a YouTube thumbnail: purpose youtube_thumbnail, type image, JPEG/PNG <=2 MiB and >=640x360; complete, then save its mediaFileId in draft.platformSettings.youtube.thumbnail.mediaId. Thumbnails are auxiliary, not post images. On a lost response retry the identical body and idempotencyKey.
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": {
"workspaceId": "<workspaceId>",
"postGroupId": "<postGroupId>",
"idempotencyKey": "<idempotencyKey>",
"fileName": "<fileName>",
"contentType": "<contentType>",
"sizeBytes": "<sizeBytes>"
},
"name": "company_reserve_media"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | ||
| purpose | No | ||
| fileName | Yes | ||
| sizeBytes | Yes | ||
| contentType | Yes | ||
| postGroupId | Yes | Exact ID returned by a Company tool; never a personal platformId | |
| workspaceId | Yes | Exact ID returned by a Company tool; never a personal platformId | |
| idempotencyKey | Yes | Stable visible-ASCII key, 1–255 characters, no comma/whitespace. On lost response retry the IDENTICAL body and key; never mint a new key |