Update style references
update_style_referencesReplace a style's reference set — add or remove references without touching the analyzed fields.
FULL REPLACE: read the current list with get_style first and send every
entry you're keeping plus the changes. New entries are youtube (video
link, or a channel link/@handle) or text; new image/video FILES can only
be added via the multipart REST endpoint PATCH /styles/{id}, but existing
ones round-trip fine. Optional `contributes_to` scopes an entry to a
subset of the analyzed fields (art_style / narrative_style /
director_style); omit it for all three.
Saving does NOT re-run analysis: the response's `inputs_stale` flips true
and the analyzed fields keep their current text until the user asks for
analyze_style (which rewrites them from the new set).Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| inputs | Yes | The COMPLETE reference list the style should have after this call, in display order: [{"input_type": "youtube" | "text" | "image" | "video", "value": "<url or text>", "contributes_to": ["art_style", ...]?}]. Include every existing entry you are keeping (copy them from get_style verbatim — public URL values are fine); anything left out is removed | |
| style_id | Yes | Style ID, as returned by create_style or list_styles |