Check an upload
get_media_statusWhere a request_media_upload slot stands. ready carries the media descriptor for schedule_post's media as soon as the file lands (processing starts once a post is scheduled with it); awaiting_upload means no file has arrived through this slot's link yet; quarantined means the pipeline refused the file after a post was scheduled with it, and message says why; revoked and failed mean the slot is spent. For the link, this is the only call that can tell you a file exists; an upload through the in-chat file picker is a slot of its own, whose descriptor the picker reports to you.
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": {
"slotId": "<slotId>"
},
"name": "get_media_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slotId | Yes | The slotId request_media_upload returned. | |
| workspace | No | Act in a team workspace: the owner's id from whoami's memberOfWorkspaces[].ownerId. Omit to act in your own workspace. |