create_agent
Create a new Letta agent with custom configuration, name, and description to manage conversations, tools, and memory blocks within the Letta system.
Instructions
Create a new Letta agent with specified configuration. After creation, use attach_tool to add capabilities, attach_memory_block to configure memory, or prompt_agent to start conversations.
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": {
"name": "<name>",
"description": "<description>"
},
"name": "create_agent"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Name of the new agent | |
| description | Yes | Description of the agent's purpose/role | |
| model | No | The model to use for the agent | openai/gpt-4 |
| embedding | No | The embedding model to use | openai/text-embedding-ada-002 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent_id | Yes | Unique identifier of the created agent | |
| capabilities | No | List of tool names attached to the agent |