wait_video
Block until a video generation job completes, then download the mp4 to the host and return a public URL for direct access.
Instructions
Block until a video job finishes, then download the mp4 to the grok-mcp host and return public_url (http://host/media/...). After successful download, deletes the remote Grok2API video job when admin credentials are configured. timeout defaults to GROK2API_VIDEO_POLL_TIMEOUT (600s).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| timeout | No | ||
| request_id | Yes | ||
| materialize | No | ||
| delete_remote | No | ||
| poll_interval | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |