Check an upload link
get_upload_statusUse after create_upload_link to see whether the user's file has arrived. Returns the link's state: waiting, receiving (with percent), validating, ready (with the media id and which platforms the file fits), rejected (with the reason), expired or revoked.
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": {
"link_id": "<link_id>"
},
"name": "get_upload_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| link_id | Yes | Upload link id (lnk_…) returned by create_upload_link. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fit | No | ||
| error | No | ||
| media | No | ||
| state | Yes | ||
| linkId | Yes | ||
| mediaId | No | ||
| percent | No | ||
| expiresAt | Yes | ||
| totalBytes | No | ||
| receivedBytes | No |