clone_agent
Create a new agent by cloning an existing agent's configuration. Use to duplicate agent setups without manual recreation, then modify as needed.
Instructions
Creates a new agent by cloning the configuration of an existing agent. Use list_agents to find source agent ID. Alternative to export_agent + import_agent workflow. Modify the clone with modify_agent afterwards.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source_agent_id | Yes | The ID of the agent to clone. | |
| new_agent_name | Yes | The name for the new cloned agent. | |
| override_existing_tools | No | Optional: If set to True, existing tools can get their source code overwritten by the tool definitions from the source agent. Defaults to true. | |
| project_id | No | Optional: The project ID to associate the new cloned agent with. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| success | Yes | ||
| new_agent_id | Yes | ||
| new_agent_name | No | ||
| original_agent_id | No |