Start a screenshot or video upload
start_media_uploadStep 1 of 3 of uploading one screenshot or video to the game’s form. Offer it once, after the covers: three or more screenshots of real play and a short horizontal trailer; the developer may skip it. If they have none, the open skill playgama-game-video (https://github.com/Playgama/gamedev-skills) films a trailer and takes screenshots from the running game: pass that link on as it is, and film only when they ask. Export a trailer as a non-fragmented MP4. Answers uploadUrl and headers: PUT the file there with exactly those headers within an hour, e.g. curl -T trailer.mp4 -H "Content-Type: video/mp4" "<uploadUrl>", then call confirm_media_upload.
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": {
"applicationId": "<applicationId>",
"kind": "<kind>",
"format": "<format>",
"contentSize": "<contentSize>"
},
"name": "start_media_upload"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | Which field of the form this file goes to: screenshot = png/jpeg up to 10485760 bytes; trailer = mp4 up to 209715200 bytes, one per game: a confirmed one replaces it; video = mp4 up to 209715200 bytes. Covers are not uploaded here. | |
| format | Yes | The file’s actual format — it is checked against the bytes on confirm | |
| contentSize | Yes | Exact size of the file in bytes (`wc -c < trailer.mp4`). The upload URL is signed for this length and the storage refuses any other. | |
| applicationId | Yes | Game id from list_applications |