Skip to main content

Parameters

string
required
Identifier of the persona to update.
string
New display name, if renaming.
string
Edit to apply to the prompt. Provide only the changed sections, with ’// … existing content …’ placeholders for unchanged parts. Merged into the existing prompt via LLM. Strongly prefer additive edits.
string
A short sentence describing what the edit does. Used with prompt_edit.
string
New image URL for the avatar, if updating.
number
New HSL hue angle (0-360 integer) tinting the chrome Pegasus avatar. Anchors: 0=red, 60=yellow, 120=green, 180=cyan, 240=blue, 300=magenta (wraps at 360). Pass -1 to leave unchanged.
string
New AI model ID, if updating. User-specific BYOK model IDs in the format ‘byok:your_config_id’ are also accepted.