Duplicate an agent
duplicate_agentCopy an agent (instructions, model, tools and knowledge) under a new name in the same workspace. Connected MCP servers, sub-agents and workflow tools are not copied; the answer says which to connect again on the dashboard.
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 |
|---|---|---|---|
| name | No | Default: the name with (copy). | |
| agent_id | Yes |