Create, change, delete or publish a preset
manage_presetFree, needs a key. Saves your own looks for reuse. action create: type custom saves a full caption style (name + style, or basePreset + overrides; returns id custom:cp_...); type brand saves a font/color/position/logo overlay (returns brandPresetId). action update: changes a custom preset in place (overwrites). action delete: permanently removes a custom or brand preset by id. action submit: proposes a custom preset for the public community gallery (moderated; visible to everyone once approved). Check a style first with get_presets action validate.
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": {
"action": "<action>"
},
"name": "manage_preset"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Preset id: cp_... or custom:cp_... as returned by manage_preset {action:'create', type:'custom'} / get_presets {type:'custom'}. | |
| name | No | Display name (max 80 characters). | |
| tags | No | Up to 8 gallery tags, max 24 characters each (e.g. bold, podcast). | |
| type | No | custom (default) or brand. Used by create and delete. | |
| color | No | Caption text color as #RRGGBB. | |
| style | No | Full caption style JSON, the same document get_catalog {kind:'presets'} returns in style and the web editor stores: fontFamily, fontWeight, fontSize (px at 720p), color, strokeWidth/strokeColor, backgroundEnabled/backgroundColor/backgroundOpacity/paddingX/paddingY/borderRadius, shadow*, position (top|center|bottom), margin, subtitleWidth, textTransform, letterSpacing, revealMode (none|full|progressive|word-by-word), animationEnabled + animation (Fade|Zoom In|Zoom Out|Slide Up|Slide Down), motion*, wordStateStyles {active|past|upcoming|future: partial style}, wordHighlights {rules,customLists}, smartEmphasis, segmentColorCycle. Unknown fields are rejected. fontFamily (also inside wordStateStyles) must be a bundled font: Inter, Poppins, Oswald, Roboto, Anton, Bebas Neue, Playfair Display, Caveat, IBM Plex Mono (get_catalog {kind:'presets'} returns fonts). Caption forms: maxWordsPerCaption 1-8 (1 = one big word at a time; wins over the autoFit words cap). activeWordReflow true = a scaled active word pushes neighbours aside. wordEntrance bounce|slide-up|fade (+ wordEntranceDuration seconds) animates each word when spoken. positionMode cycle|keyword (+ positionCycle [top|center|bottom], positionKeywords [words], keywordPosition) moves captions, always inside the safe zone. captionLayout stacked = poster, one word per line with a bigger hero word (posterHeroScale 1-3). faceAvoid true = burns detect faces and move captions off them; the result returns faceAvoid.faceLayout, store it as style.faceLayout to reuse. | |
| action | Yes | create, update (custom only), delete or submit (custom only, to the public gallery). | |
| author | No | Public credit, e.g. the agent or person name. Default 'AI agent'. | |
| api_key | No | Only for a connection without an Authorization header: the token create_key returned (av_live_...). Pass it on every call to use that key in this same session, no reconnect or config change. Ignored when the connection already sends a key. It works like a password: create a new key if this conversation is shared. | |
| position | No | Caption position: top, center or bottom. | |
| overrides | No | Style fields to change on top of basePreset (or of style). | |
| basePreset | No | Start from this preset (id, slug, name, or custom:cp_...) instead of a full style. | |
| fontFamily | No | One of the bundled fonts: Inter, Poppins, Oswald, Roboto, Anton, Bebas Neue, Playfair Display, Caveat, IBM Plex Mono. | |
| logoBase64 | No | Optional logo as base64 PNG, JPEG or WebP under 1 MB, drawn on videos burned with this brand preset. | |
| description | No | Short description shown with the preset (max 500 characters). | |
| previewText | No | Sample caption text for the gallery preview (max 140 characters). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| total | No | Total number of items (paginated lists). | |
| result | No | The value, when the tool returns something other than an object. | |
| hasMore | No | true when more items are available (paginated lists). | |
| nextCursor | No | Pass as cursor for the next page (paginated lists). |