Skip to content

Ask AI

Ask anything about Destesi — setup, products, APIs.

AI answers may be wrong — always verify against the docs.

Minstrel MCP tools

Registered when the server starts with STUDIO_API_URL set. 43 tools, listed with the description the server sends in tools/list.

Tool Description
studio_add_template_rule Add a rule to a template: when a scene’s field matches, the action applies (e.g. text includes ‘oferta’ → set_caption_color). At most 50 rules a template; 422 invalid_rule names what is wrong.
studio_approve_run Approve a Minstrel run for render/publish.
studio_cancel_run Cancel a Minstrel run. Only queued or running runs are cancellable (409 otherwise).
studio_clear_brand_logo Remove the workspace’s default Minstrel watermark logo; future runs inheriting that logo have none. Workspace owners and admins only.
studio_clear_template_logo Disable a visual template’s logo on future runs. To restore the workspace logo instead, use studio_update_template with logo_drive_file_id null. Images templates cannot hold a logo.
studio_clear_template_music Remove a template’s soundtrack.
studio_create_project Create a new Minstrel content project from a natural-language prompt, optionally cut to a target_seconds length, with a chosen language/voice/narration direction and candidate images.
studio_create_template Create a Minstrel visual template: a reusable preset (format, style, captions, intro/outro, music, brand, logo and narrator). Omitted brand_kit/logo_drive_file_id and empty voice_id inherit workspace defaults; brand_kit {} uses stock and logo_drive_file_id ‘’ disables the logo. Each new run snapshots resolved settings. kind=‘images’ makes an images template (default pictures per anchor) and cannot change later; images templates cannot hold wrapper settings, including brand, logo or narrator. Returns the template; add rules with studio_add_template_rule.
studio_delete_project Delete a Minstrel project.
studio_delete_template_rule Delete one template rule.
studio_describe_house_style Describe every Minstrel house format: what it does to the film and whether it renders on its own pinned stage. A format is chosen per project or visual template, never on the brand. Stage note: documentary (deepfield) and data (graphite) render on a PINNED stage — compose forces it and a project cannot switch — while product-demo DEFAULTS to noir and paper DEFAULTS to the paper stage, either of which a project may still change in the editor. All four keep the brand’s ACCENT but not its background colour. When a response carries a stage_note, relay it verbatim rather than writing your own.
studio_duplicate_template Copy a Minstrel template, including its brand, narrator, logo, assets and rules. Returns the new template; edit its name/settings with studio_update_template.
studio_get_brand Read the workspace’s Minstrel brand defaults, inherited by projects unless their visual template overrides brand, logo or narrator. Each new run snapshots resolved settings: theme or custom colours, fonts, script voice/tone, format_voices (narrator per house format), narration_sound, and the watermark logo with its placement. The brand has no house format: that is chosen per visual template or per project. configured:false means it was never set up.
studio_get_project Get one Minstrel project’s details.
studio_get_run Get one Minstrel run’s state and steps.
studio_get_template Get one Minstrel template. Kinds: ‘visual’ (a production preset: aspect ratio, captions, music, intro/outro, style preset, rules, optional brand, logo and narrator) and ‘images’ (default pictures per scene only; cannot hold wrapper settings, including brand, logo or narrator); a project pairs one of each via template_id + images_template_id. A template is a LIVE preset: nothing is copied onto a project, every new run reads the template as it is then and snapshots resolved settings, so editing a template or re-pairing a project takes effect on the next run, and runs already made keep what they used. Visual templates inherit workspace defaults unless they override them: brand_kit null inherits the workspace brand, {} uses stock; logo_drive_file_id null inherits the workspace logo, ‘’ disables it; voice_id ‘’ inherits narrator defaults. An explicit caller voice beats the template voice_id, which beats defaults. format = the kind of film the template makes (a house format key, e.g. ‘devotional’); it beats the project’s own format and the template’s style_preset, and ‘’ decides nothing (the project’s format applies). verse_card = the card a verse is quoted on with a typewriter caption (light, glass, overlay, quote, lower); ‘’ follows the format (devotional: glass). style_preset ‘’ = follow the format; a key is an explicit style that beats the project’s format for projects on this template. caption_style ‘’ = follow the format. brand_kit uses the workspace BrandKit schema (theme OR colours, fonts, script voice/tone, format_voices, narration_sound) and replaces the complete brand object. logo_position defaults to bottom-right, logo_scale to 0.1; signed logo_url is read only. project_count = how many projects use the template right now (either half of the pair).
studio_list_projects List Minstrel content projects in a workspace.
studio_list_promos List the workspace’s Minstrel promos (agent-produced product videos).
studio_list_publish_destinations List the workspace’s connected social accounts Minstrel can publish to (YouTube, TikTok, Instagram, Facebook, LinkedIn, Threads), grouped by provider. Each account id is a social_account_ids value for studio_publish_run; selected marks the accounts Minstrel is linked to when the provider is configured.
studio_list_publishes List the social publishes (scheduled, in flight, done, failed) of a Minstrel run.
studio_list_runs List agent runs for a Minstrel project.
studio_list_template_rules List a template’s rules (field/operator/value → action), in the order they apply.
studio_list_templates List the workspace’s Minstrel templates. Kinds: ‘visual’ (a production preset: aspect ratio, captions, music, intro/outro, style preset, rules, optional brand, logo and narrator) and ‘images’ (default pictures per scene only; cannot hold wrapper settings, including brand, logo or narrator); a project pairs one of each via template_id + images_template_id. A template is a LIVE preset: nothing is copied onto a project, every new run reads the template as it is then and snapshots resolved settings, so editing a template or re-pairing a project takes effect on the next run, and runs already made keep what they used. Visual templates inherit workspace defaults unless they override them: brand_kit null inherits the workspace brand, {} uses stock; logo_drive_file_id null inherits the workspace logo, ‘’ disables it; voice_id ‘’ inherits narrator defaults. An explicit caller voice beats the template voice_id, which beats defaults. format = the kind of film the template makes (a house format key, e.g. ‘devotional’); it beats the project’s own format and the template’s style_preset, and ‘’ decides nothing (the project’s format applies). verse_card = the card a verse is quoted on with a typewriter caption (light, glass, overlay, quote, lower); ‘’ follows the format (devotional: glass). style_preset ‘’ = follow the format; a key is an explicit style that beats the project’s format for projects on this template. caption_style ‘’ = follow the format. brand_kit uses the workspace BrandKit schema (theme OR colours, fonts, script voice/tone, format_voices, narration_sound) and replaces the complete brand object. logo_position defaults to bottom-right, logo_scale to 0.1; signed logo_url is read only. project_count = how many projects use the template right now (either half of the pair).
studio_list_versions List a run’s versions: every finished video, newest first, with version_id, when it finished, a video link (output_url) and whether it can be restored (restorable). A ‘restore’ entry is an earlier version made current again; source ‘bundle’ entries are aspect exports, not versions, and entries without version_id cannot be restored.
studio_list_voices List the narration voices available to Minstrel runs in this workspace.
studio_preview_format Storyboard a Minstrel house format beat by beat — the block, layout, background, camera and transition each beat would get. A storyboard, not a render: instant, nothing is generated and nothing is changed. Stage note: documentary (deepfield) and data (graphite) render on a PINNED stage — compose forces it and a project cannot switch — while product-demo DEFAULTS to noir and paper DEFAULTS to the paper stage, either of which a project may still change in the editor. All four keep the brand’s ACCENT but not its background colour. When a response carries a stage_note, relay it verbatim rather than writing your own.
studio_publish_run Publish an approved Minstrel run’s video on the user’s REAL social accounts (YouTube, TikTok, Instagram, …) — this posts publicly on their behalf. The run must be in state ‘approved’. social_account_ids are Charter social connection ids: list them with studio_list_publish_destinations first. Needs the videos.publish permission (403 permission_required otherwise).
studio_render_preview Queue a fresh render of a run’s current scenes (after edits). Returns the tool op id to poll.
studio_restore_version Make an earlier version of a run current again: the run’s scenes and settings go back to what produced that video, and that video becomes the one the editor plays and approve, publish and share deliver. Nothing re-renders. Edits made since the last render are replaced, so call it only when the user asked to go back to a version. Refused while the run is rendering or editing (409 run_busy) and for a version marked not restorable (409 version_not_restorable).
studio_retry_run Re-enqueue a failed or cancelled Minstrel run (409 from any other state).
studio_set_template_music Give a template a soundtrack from the workspace’s Assets library (category music). 422 invalid_category when the asset is not music.
studio_share_run Enable a public share link for a Minstrel run’s video; returns share_url. Needs the videos.publish permission (403 permission_required otherwise).
studio_start_run Start a new agent run on a Minstrel project. Enqueues the run and returns its id immediately — poll studio_get_run for progress; studio_worker_status explains a run that stays queued.
studio_suggest_formats Suggest three Minstrel HOUSE FORMATS for a workspace — the SHAPE its videos take (pacing, block vocabulary, camera, how much photography), on top of the brand’s colours. Each comes with the reason it was suggested. Nothing is changed; apply one with studio_update_project format (or a visual template’s format).
studio_translate_run Translate a Minstrel run into another language: creates that language version with translated scripts and re-cast voices, then queues its narration and render. Returns run_id and variant_id.
studio_unshare_run Disable a Minstrel run’s public share link.
studio_update_brand Edit the workspace’s Minstrel brand defaults with a MERGING patch: a key you pass is set, a key you omit is left alone, null clears it. Pass only what changes. theme and colours are two answers to one question — a starter theme clears custom colours and colours clear the theme, so never send both (422 brand_kit_invalid). colours and fonts each replace their whole object, so send every colour you want kept (read studio_get_brand first). Unknown keys, bad hex or unknown fonts are refused (400/422), and so is a format: the house format is set per project (studio_update_project) or per template, never on the brand; colours must pass a contrast check (422 brand_kit_illegible names the pair and ratio). The edit reaches the NEXT run of projects inheriting those defaults; visual template overrides take precedence and existing runs keep their snapshots. The logo image itself is studio_upload_brand_logo. Workspace owners and admins only (403 admin_required).
studio_update_project Update a Minstrel project. Only the fields you pass are changed. Kinds: ‘visual’ (a production preset: aspect ratio, captions, music, intro/outro, style preset, rules, optional brand, logo and narrator) and ‘images’ (default pictures per scene only; cannot hold wrapper settings, including brand, logo or narrator); a project pairs one of each via template_id + images_template_id. A template is a LIVE preset: nothing is copied onto a project, every new run reads the template as it is then and snapshots resolved settings, so editing a template or re-pairing a project takes effect on the next run, and runs already made keep what they used. Visual templates inherit workspace defaults unless they override them: brand_kit null inherits the workspace brand, {} uses stock; logo_drive_file_id null inherits the workspace logo, ‘’ disables it; voice_id ‘’ inherits narrator defaults. An explicit caller voice beats the template voice_id, which beats defaults. Stage note: documentary (deepfield) and data (graphite) render on a PINNED stage — compose forces it and a project cannot switch — while product-demo DEFAULTS to noir and paper DEFAULTS to the paper stage, either of which a project may still change in the editor. All four keep the brand’s ACCENT but not its background colour. When a response carries a stage_note, relay it verbatim rather than writing your own.
studio_update_template Edit a Minstrel template with a MERGING patch: only the fields you pass change. brand_kit replaces the complete object: null inherits workspace, {} uses stock. logo_drive_file_id null restores workspace inheritance; ‘’ disables the logo. voice_id ‘’ inherits narrator defaults. The kind cannot change; images templates cannot hold wrapper settings, including brand, logo or narrator. The next run reads the edited template and snapshots its resolved settings; existing runs keep theirs.
studio_upload_brand_logo Upload the workspace’s Minstrel default watermark logo (PNG, JPEG or WebP; no SVG), stored in Coffer and inherited by future runs unless their visual template overrides or disables the logo. Placement is studio_update_brand (logo_position, logo_scale). Inline uploads are capped at 5 MiB. Workspace owners and admins only (403 admin_required).
studio_upload_template_logo Upload a visual template’s watermark logo (PNG, JPEG, WebP or GIF; no SVG), stored in this workspace’s Coffer and used by its next runs. Placement is studio_update_template (logo_position, logo_scale). Inline uploads are capped at 5 MiB. Images templates cannot hold a logo.
studio_vary_run Re-cut a Minstrel film with a fresh take: enqueues a new run of the same project with the same brief, but a different arc order so it does not open the way the last one did. Use it when a video looks the same as the previous one — never rewrite the brief for that. Returns immediately with a queued run id; poll studio_get_run for the result.
studio_worker_status Report whether a Minstrel worker is online. online:false means no worker is picking up jobs, which is why runs sit in ‘queued’.