Create video card
create_video_cardRenders an HTML video player card for direct mp4/webm files, data:video URIs, or blob URLs, embedding playable clips in chat. Streaming platform page URLs are rejected because they cannot play.
Instructions
Render a card with an HTML video player for a short clip. src must point straight at a video file (mp4/webm): a direct http(s) URL, a small data:video/* URI, or a blob: URL. Streaming platform page URLs (YouTube, Vimeo, Twitch, TikTok, and similar) are REJECTED, because a video element pointed at a player page renders a card that can never play. When no direct video source exists, use create_animation_card to generate an animated clip instead.
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": {
"title": "<title>",
"src": "<src>"
},
"name": "create_video_card"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| src | Yes | Direct http(s) URL to a video file, a data:video/* URI, or a blob: URL | |
| loop | No | ||
| muted | No | ||
| title | Yes | ||
| poster | No | Still image shown before playback: http(s) URL or data:image/* URI | |
| autoplay | No | Start muted playback on render | |
| subtitle | No | ||
| description | No | ||
| contextActions | No | Right-click menu actions the model anticipates being useful. Choosing one sends its prompt to the conversation; use {{selection}} to include the user's selected text. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| card | Yes | ||
| parts | Yes | Split state, present on EVERY card result so one completeness check works for all card types. Cards that cannot split always report {current:1,total:1,hasMore:false}; create_markdown_card and create_code_tour_card pack oversized content into parts and can report more. Read hasMore rather than the card title to decide whether content was withheld. | |
| display | No | Present only when the host is not mounting this server's MCP Apps template (see MCP_CHAT_CARDS_RENDER): the card ships as a ready-made visualizer widget instead. |