Upload a screenshot
upload_screenshotAdds new screenshots for the listing: PNGs, 1366 x 768 up to 3840 x 2160, at most 50 MB each. Call it without files for a link valid for an hour, and PUT one PNG per request with the returned curl command; each upload answers with an id. In ChatGPT, which has no shell, call pick_screenshots instead, even when the person attached the PNGs to a message: its file picker passes them here as files (up to 10) and tells you the ids. Then pass the ids, in order, to set_screenshots. Uploads stay private until they are sent.
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": {
"appId": "<appId>"
},
"name": "upload_screenshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| appId | Yes | The app id from list_apps. | |
| files | No |