import_agent
Imports an agent from an exported template object and assigns a name; optionally records the source agent ID to preserve import lineage.
Instructions
Import an agent from a template produced by export_agent / the OpenAPI export-template route. The template shape is complex; do not invent it manually unless the user provides an exact exported object.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agentName | Yes | Name for the imported agent | |
| fromAgentId | No | Optional source agent ID to preserve import lineage/context when the backend supports it. | |
| agentTemplate | Yes | Agent template object from export_agent / export-template. Pass the exported template object through; do not manually invent nested template fields. |