duplicate_agent
Duplicate an agent to create a test variant or A/B comparison copy, preserving its configuration. Optionally place the duplicate in a target organization.
Instructions
Duplicate an existing agent, creating a new agent with the same configuration. The new agent is created in the target organization (defaults to your own org). Useful for creating variants of an agent for testing or A/B comparisons.
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 | The agent ID to duplicate | |
| target_organization_id | No | Target organization ID to create the duplicate in. If omitted, duplicates into your own organization. |