Clone Agent
ethora-agents-clone-v2Duplicate an existing saved agent into a new agent, optionally overriding its name/slug/summary (POST /v2/agents/:agentId/clone). The source agent is unchanged; the new clone becomes the session's current agent context.
Auth: app-token mode (after ethora-app-select + ethora-auth-use-app). Errors: 401/403 wrong auth; 404 source agentId not found; 422 overridden slug collides.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Name for the clone. Omit to inherit the source agent's name. | |
| slug | No | URL-safe unique slug for the clone. Omit to let the server derive one; must not collide with an existing agent. | |
| agentId | Yes | Id of the source agent to clone. Get it from `ethora-agents-list-v2`. | |
| summary | No | Summary for the clone. Omit to inherit the source agent's summary. |