Create video
cms_create_videoCreate video item. Guidance: Create one CMS video item from video category ids. | context: title, categories, embedUrl
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>",
"categories": "<categories>",
"embedUrl": "<embedUrl>"
},
"name": "cms_create_video"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | Optional editorial date in RFC 3339 format. | |
| meta | No | Optional SEO payload with title and description. | |
| slug | No | Optional URL slug; the server may normalize it. | |
| title | Yes | Video headline shown in feeds and on the item page. | |
| author | No | Optional byline or author display name. If omitted, the app account holder's name is used. | |
| leadin | No | Optional Summary field in the back-office Info panel (deck / chapo), as plain text. HTML tags and text after a bare less-than sign are stripped server-side. The summary response field is a read-only computed excerpt. | |
| pinned | No | Whether the video is pinned in its category listing. | |
| status | No | Publication status. Omit on create to default to published. Do not send scheduled. | |
| embedUrl | Yes | Video player iframe or embed HTML; non-empty. Set an explicit iframe width and height (for example 100%) so the player renders at a visible size. | |
| accessTier | No | Paywall tier. 'premium' locks the item behind an in-app purchase; 'free' leaves it open. Applies only to apps that sell in-app purchases. | |
| categories | Yes | Non-empty category id array. Use cms_list_cms_sections with type='video' to discover video category ids. | |
| publishedDate | No | Future ISO datetime for deferred publication. Requires status='stock' when provided. | |
| commentsEnabled | No | Whether end-user comments are enabled for this video. | |
| publicationEndDate | No | Future ISO datetime for scheduled unpublication. |