Update style fields
update_style_fieldsHand-edit a style's analyzed fields after reviewing them — e.g. tighten the art_style wording or adjust the director_style pacing rules.
`fields` is a PATCH, merged over what the style already has: send only the
keys you are changing and leave the rest out — there is no need to read
the whole dict back with get_style and round-trip it. Pass {key: null} to
delete a user-added key (the well-known art_style / narrative_style /
director_style / script_prompt cannot be deleted, only rewritten, and
cannot be set empty). Editing fields does NOT trigger re-analysis, so your
edits stick.
Real media is switched by the literal `@real-media` tag inside
director_style's prose: add the tag plus prose describing when/how/how
much real media appears to turn it on; remove the tag (or its passage) to
turn it off.Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fields | Yes | Sparse patch of style fields, shaped {key: {"value": str, "applies_to": [...]}} — send ONLY the keys you are changing; unlisted keys keep their current value | |
| style_id | Yes | Style ID, as returned by create_style or list_styles |