Agent Personas

Reset persona to its package version

Changed on

Restore every field of a package persona from its package template and let the package keep it up to date again. 409 for a persona no subscribed package owns.

post/api/v0/agent/personas/{persona_id}/reset-to-package

Request

Path parameters

persona_idstring uuid required

Response

Successful Response

idstring uuid required

The ID of the persona.

namestring required

The name of the persona.

descriptionstring required

The description of the persona.

promptstring required

The system prompt for the persona.

builtin_tool_idsstring[]

Built-in tool IDs assigned to this persona.

builtin_tool_configsobject

Per-builtin config keyed by tool id. Only configurable builtins (currently invoke_persona) carry config; the dict is sparse.

knowledge_graph_idstring uuid nullable

The graph-enabled collection the persona's knowledge-graph tools target; null when none is wired, no such tool is enabled, or the collection was deleted.

is_roamingboolean

True iff the persona enables a tool that requires a workspace.

custom_tool_idsstring[]

Custom tool UUIDs assigned to this persona.

knowledge_base_idsstring[]

Knowledge base UUIDs assigned to this persona.

skill_idsstring[]

Skill UUIDs preloaded by this persona: instruction documents the agent can read on demand via the read_skill tool.

mcp_server_idsstring[]

MCP server UUIDs connected to this persona.

created_atstring date-time required

When the persona was created.

updated_atstring date-time required

When the persona was last updated.

Changes