Duplicate Agent
duplicateAgentDuplicate an existing agent into a new agent named "Copy of ", carrying over its configuration. Use the include_* flags in the (optional) body to control what is copied; all default on except memory. Builders can duplicate agents they created; duplicating an agent somebody else created requires the Lead Builder team role or above.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"agent_id": "<agent_id>"
},
"name": "duplicateAgent"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent_id | Yes | The ID of the agent to duplicate | |
| include_aop | No | Copy the agent's operating procedure (AOP) and its handover targets. Defaults to true. | |
| include_queue | No | Copy the assigned Queue. Defaults to true. | |
| include_memory | No | Copy what the agent has learned so far (its Memory). Defaults to false. Memory can only be copied from the Duvo app — requesting it here returns an error. | |
| include_plugins | No | Copy installed plugins. Defaults to true. | |
| include_connections | No | Copy connected accounts (Connections) and their selected tools. Defaults to true. | |
| include_skills_files | No | Copy attached Skills and Files. Defaults to true. | |
| include_logins_secrets | No | Copy saved Logins and Secrets. Defaults to true. |