import_agent
Loads and recreates serialized agent configurations from JSON files into the Letta system for customization and deployment.
Instructions
Import a serialized agent JSON file and recreate the agent in the system. Use export_agent to create the JSON file, then modify_agent or attach_tool to customize the imported agent.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | Path to the agent JSON file to import. | |
| append_copy_suffix | No | Optional: If set to True, appends "_copy" to the end of the agent name. Defaults to true. | |
| override_existing_tools | No | Optional: If set to True, existing tools can get their source code overwritten by the uploaded tool definitions. Letta core tools cannot be updated. Defaults to true. | |
| project_id | No | Optional: The project ID to associate the uploaded agent with. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| success | Yes | ||
| agent_id | Yes | ||
| warnings | No |