Personas
Manage the personas of a product from the terminal. A persona is the user an AI assistant is asked to answer as when a prompt runs; prompts reference personas by ID. Pass--scope <org-slug>/<product-slug> to select the product. tpc personas is an alias for tpc persona.
Persona commands work with an OAuth login (tpc auth login) or an API key holding products:read (list, get) and products:write (create, update, delete).
List personas
Newest first.--search filters by name; --page is zero-based; --page-size defaults to 50.
--format csv is not supported.
Get a persona
Text mode prints the full description and system prompt. JSON mode prints the API payload.Create a persona
--name and --description are required. The system prompt is optional and comes from --system-prompt or --system-prompt-file, not both.
Update a persona
Pass only the fields to change; the rest are left as they are.--clear-system-prompt removes the system prompt and cannot be combined with --system-prompt or --system-prompt-file.
Delete a persona
Deleting is a soft delete: prompts that referenced the persona keep their history.JSON output
Every command supports--format json for scripting. list prints { "personas": [...], "total": n }; the other commands print the persona object.