Add a tutorial video draft
learn_items_createAdd a Learn Sigmora tutorial video as a draft, with an uploaded assetId (Sigmora admins). Free.
REST: POST /v1/learn-items.
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": {
"slug": "<slug>",
"title": "<title>",
"section": "<section>",
"order": "<order>",
"idempotencyKey": "<idempotencyKey>"
},
"name": "learn_items_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | The readable address: lowercase words joined by hyphens, as in `/learn/<slug>`. It never changes. | |
| goals | No | Onboarding goals this video serves (`grow-audience`, `repurpose`, `sell-product`), used for "Suggested for you". | |
| order | Yes | Position inside its section, lowest first. | |
| title | Yes | The card and player title, up to 80 characters, in sentence case. | |
| locale | No | The language of the video and its copy, for example `en`. Default `en`. | en |
| assetId | No | The video: an asset id from `/v1/assets/upload` in the same workspace as the key. Its length is read from the file. | |
| section | Yes | Which section of Learn Sigmora the video sits in. | |
| chapters | No | Chapters in time order; they split the seek bar and head the transcript. | |
| features | No | Feature keys the video teaches, suggested to people who have not opened them. | |
| personas | No | Creator types this video suits (for example `podcaster`), used for "Suggested for you". | |
| tryItHref | No | Where "Try it" opens: a path inside a workspace such as `/templates`, without the workspace part. | |
| workspace | No | Workspace slug. Omit to use the workspace your credential is bound to. An API key names its own workspace, and a value that disagrees with it is refused rather than ignored. | |
| loopEndSec | No | Where the hover preview loops back, in seconds. Null plays the first 6 seconds. | |
| description | No | One line under the title, up to 140 characters. | |
| loopStartSec | No | Where the muted hover preview starts, in seconds. Null starts at 0. | |
| guideMarkdown | No | The companion written guide in Markdown, shown on the Guide tab. | |
| posterAssetId | No | The poster image: an image asset id in the same workspace. Null shows the branded title card. | |
| idempotencyKey | Yes | Required for anything that spends or creates durable state. Generate a unique id per logical call. Retrying with the SAME id and the SAME arguments returns the stored result instead of doing — and charging for — the work twice; the same id with different arguments is refused with `conflict`. | |
| captionsVttAssetId | No | A WebVTT captions file asset id. Null builds captions from the transcript. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||