publish_library_video
Put a video into the DelegAIze video library AS A DRAFT and get signed upload URLs to Cloudflare R2 (video_de/video_en = MP4 with sound, poster = JPEG, captions_de/captions_en = WebVTT). Nothing becomes public: publishing needs update_library_video {published:true}, which a human admin must approve in the app. Calling again with the same slug on a draft returns fresh upload URLs and updates the given fields. internal:true stores it as INTERNAL instead (team only, can never be published) - the only way to keep customer or partner videos here; without it: no customer or partner videos, no real customer data.
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>",
"files": "<files>"
},
"name": "publish_library_video"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | URL name, lower case a-z0-9 and '-' (page /videos/<slug>) | |
| sort | No | Order on the page (lower first), default 100. | |
| files | Yes | Which upload URLs you need, e.g. ["video_de","video_en","poster","captions_de"] | |
| notes | No | Internal notes, never shown publicly (e.g. how the video was made: sources, script, voice, build command). An entry with notes cannot be published. | |
| system | No | Connected system: sap, salesforce, hubspot, pipedrive, odoo, weclapp, business-central, mail, other | |
| industry | No | Industry, e.g. Handwerk, Industrie, Großhandel, Dienstleistung. | |
| internal | No | true: status internal (team only, never public). false on an internal entry makes it a normal draft again. | |
| title_de | No | German title of the video | |
| title_en | No | English title of the video | |
| source_de | No | Original file name of the German version (traceability) | |
| source_en | No | Original file name of the English version (traceability) | |
| summary_de | No | One or two sentences, German. | |
| summary_en | No | One or two sentences, English. | |
| duration_de_s | No | Length of the German version in seconds | |
| duration_en_s | No | Length of the English version in seconds |