upload_video
Upload a video file to X for posting. Provide an absolute file path to a MP4 video with H.264/AAC encoding.
Instructions
Upload a video file (max 512MB, MP4 with H.264/AAC). Please provide an absolute file path.
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": {
"path": "<path>"
},
"name": "upload_video"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Absolute path to the video file | |
| timeout | No | Maximum time in seconds to wait for processing completion | |
| poll_interval | No | Interval in seconds to check processing status | |
| media_category | No | Media category (post_video) | post_video |