Set cover video
set_course_cover_videoSets an existing visible, published Trainn video as the course cover. Search Library content first and let the user choose the video. This replaces the current cover image.
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": {
"course_id": "<course_id>",
"video_id": "<video_id>",
"expected_revision": "<expected_revision>",
"idempotency_key": "<idempotency_key>"
},
"name": "set_course_cover_video"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| video_id | Yes | ||
| course_id | Yes | ||
| idempotency_key | Yes | ||
| expected_revision | Yes |