duplicate_agent
Create an exact copy of any agent, preserving all configuration, for A/B testing, language variants, or safe experimentation.
Instructions
Create an exact copy of an agent with all its configuration.
Duplicates everything: brain settings, voice, transcriber, transfer rules, analytics config, tools, and conversation settings. The copy is independent — changes to one don't affect the other.
Great for:
A/B testing different prompts or voices on the same setup
Creating language variants (duplicate, then change language + instructions)
Branching a proven agent before making experimental changes
Setting up dev/staging/prod versions of the same agent
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": "duplicate_agent"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent_id | Yes | ||
| new_name | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||