> ## Documentation Index
> Fetch the complete documentation index at: https://docs.zocomputer.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Edit persona

> Edit fields of an existing persona. Heavily biased toward additive, surgical changes — there is no full-replacement option.

{/* Tool: edit_persona */}

## Parameters

<ParamField path="persona_id" type="string" required={true}>
  Identifier of the persona to update.
</ParamField>

<ParamField path="name" type="string" default={""}>
  New display name, if renaming.
</ParamField>

<ParamField path="prompt_edit" type="string" default={""}>
  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.
</ParamField>

<ParamField path="edit_instructions" type="string" default={""}>
  A short sentence describing what the edit does. Used with prompt\_edit.
</ParamField>

<ParamField path="image" type="string" default={""}>
  New image URL for the avatar, if updating.
</ParamField>

<ParamField path="image_hue" type="number" default={-1}>
  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.
</ParamField>

<ParamField path="model" type="string" default={""}>
  New AI model ID, if updating. User-specific BYOK model IDs in the format 'byok:your\_config\_id' are also accepted.
</ParamField>
