Create agent persona
Create a new agent persona for the current user.
Request body
The name of the persona.
The description of the persona.
The system prompt for the persona.
Built-in tool IDs to assign to this persona.
Per-builtin config, keyed by builtin tool id. Each entry is validated against the Pydantic schema registered for that tool in op_core.builtin_tool_configs. Only configurable builtins (e.g. invoke_persona) accept a config; others must be omitted.
Custom tool UUIDs to assign to this persona.
Knowledge base UUIDs to assign to this persona.
Skill UUIDs to preload — instruction documents the agent can read on demand via the read_skill tool.
Response
Successful Response
The ID of the created persona.
The name of the persona.
The description of the persona.
The system prompt for the persona.
Built-in tool IDs assigned to this persona.
Per-builtin config keyed by tool id (sparse).
Custom tool UUIDs assigned to this persona.
Knowledge base UUIDs assigned to this persona.
Skill UUIDs preloaded by this persona.
When the persona was created.