Skip to content

Brand knowledge

update_script_preferences

Update the brand's script preferences. Only the keys present in patch are replaced (a list key replaces the whole list); everything else is kept. formats must be taxonomy slugs (talking_head, voiceover_broll, listicle, tutorial, storytelling, reaction, pov, street_interview, day_in_life, podcast_clip, green_screen). defaultDurationSeconds 5-600 or null. Restrictions live elsewhere (add_restriction). Returns the full preferences document.

writetools/callupdate_script_preferences
IdempotentRequires dalea:write

Parameters

  • brandIdstring
  • patchobjectrequired
    Show propertiesHide properties
    • pillarsarray<object>

      Up to 12 items.

    • formatsarray<"talking_head" | "voiceover_broll" | "listicle" | "tutorial" | "storytelling" | "reaction" | "pov" | "street_interview" | "day_in_life" | "podcast_clip" | "green_screen">

      Up to 11 items.

    • approvedHooksarray<string>

      Up to 10 items.

    • bannedHooksarray<string>

      Up to 10 items.

    • standingInstructionsstring

      Up to 1200 characters.

    • defaultDurationSecondsinteger | null

      Between 5 and 600.

    • useLearnedFormatsboolean