Skip to main content
Glama

update_shot

Edit a single storyboard shot's text fields (shot type, action, dialogue, description, camera movement) and character bindings. Only changed fields are updated; other shots remain untouched.

Instructions

逐镜编辑:改单个分镜的文本内容(景别/动作/台词/画面描述/运镜等)与角色绑定(character_ids)。只传要改的字段、其余不动。免费(纯文本写库)。★改 dialogue 会自动失效本镜已生成的 TTS 配音与字幕(需重出 tts);改文本不会自动重出图/视频,如需让画面跟上文本改动,改完再 regen 对应镜。用 get_storyboards 查改后结果。★★原声镜(厂商原生音频)改 dialogue 后,本镜视频会被标记「待重生」——因为台词是烤进视频人声的,不重生就终拼,成片里念的仍是改动前的台词(典型现象:台词像是跑到了别的镜头上)。compose_episode 会以 advisory stale_video_after_edit 列出这些镜;正确处置是先 regenerate_shot_video 再终拼。★也可直接改本镜的两条提示词正文(image_prompt/video_prompt):改前先用 get_shot_prompts 读现值,别凭空覆盖——正文里的 @char:N / @scene:M 是角色/场景参考图的引用标记,删掉本镜就不注入对应定妆图/场景图(形象漂移)。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
timeNo时间/时段
angleNo机位角度
titleNo镜头标题
actionNo动作描述
dialogueNo台词(★改后自动失效本镜 TTS/字幕,需重出配音)
locationNo地点
shot_typeNo景别(如 特写/中景/全景/远景)
atmosphereNo氛围
descriptionNo画面描述
shot_intentNo这镜为什么存在(叙事意图)
image_promptNo首帧画面提示词**正文**(全量覆盖本镜现值)。★先 get_shot_prompts 读现值再改;★原样保留其中的 @char:N / @scene:M 引用标记,删了就不注入对应定妆图/场景图。出图时平台会在正文之上再拼身份锚与一致性约束,不必你写
video_promptNo视频(动态/运镜/表演)提示词**正文**(全量覆盖本镜现值)。★同 image_prompt:先读现值、保留 @char/@scene 标记
character_idsNo本镜出场角色 ID 列表(★全量覆盖式,非增量,漏传的角色会被解绑)。决定出图时注入哪些角色的定妆图/设定图——非人角色(动物/生物)也必须绑定,否则形象会漂移。id 必须来自当前集已关联角色
director_noteNo导演注释
storyboard_idYes
camera_movementNo运镜(推/拉/摇/移/跟/固定)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.57

TDQS

A4.8/5.0
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations, the description carries the full burden and succeeds thoroughly. It discloses: dialogue edits invalidate existing TTS and subtitles; text edits do not auto-regenerate images/videos; original-sound shots get flagged with '待重生' and compose_episode emits advisory 'stale_video_after_edit'; character_ids and prompt bodies are full-overwrite; deleting @char/@scene markers causes identity drift. These go far beyond what the schema could convey.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is long but well-structured with ★ markers and a clear order: core purpose, editing rule, dialogue side-effects, video staleness, prompt-editing warnings, and verification route. Every section carries a distinct operational consequence; minor redundancy with the schema's parameter notes is acceptable given the tool's complexity.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 16-parameter mutation tool with no output schema, the description is effectively complete: it explains the edit model, cost (免费/纯文本写库), side-effects, required pre-reads, post-edit verification via get_storyboards, and the exact handling of stale videos before compose_episode. An agent has everything needed to invoke it correctly and handle downstream states.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 94% and individual parameter descriptions already carry substantial semantics (e.g., dialogue's TTS invalidation, image_prompt's @char/@scene warnings, character_ids' overwrite behavior). The tool description adds cross-cutting usage rules ('只传要改的字段、其余不动') and reinforces the prompt-reading prerequisite, providing meaningful value above the schema but with some redundancy.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The opening line states a specific verb and resource: '逐镜编辑:改单个分镜的文本内容...与角色绑定' — editing a single storyboard shot's text and character binding. It also differentiates from sibling operations by explicitly referencing get_storyboards, regenerate_shot_video, and compose_episode as separate follow-up/replacement steps, so an agent understands this is the text-edit tool, not the regeneration or query tool.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description gives explicit usage rules: '只传要改的字段、其余不动' (only pass fields to change), prerequisites ('改前先用 get_shot_prompts 读现值,别凭空覆盖'), and clear when-to-use-alternatives guidance ('改文本不会自动重出图/视频...改完再 regen 对应镜'; '正确处置是先 regenerate_shot_video 再终拼'). This is a fully actionable guide.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools