x_media_status
Check the processing state of an uploaded video or GIF by media ID, and poll until it is ready to attach to a post.
Instructions
X (Twitter): check the async processing state of an uploaded media by media_id. Videos and GIFs process after upload — poll until processing_state is succeeded (check_after_secs suggests when) before attaching the media to a post.
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": {
"media_id": "<media_id>"
},
"name": "x_media_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| media_id | Yes | The media id returned by x_media_upload whose processing state to check. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | ||
| meta | Yes | ||
| summary | No |