upload_tool
Upload custom tools to the Letta system for use with agents. Add tools to agents after creation and verify attachments.
Instructions
Upload a new tool to the Letta system. Use with attach_tool to add it to agents, or list_agent_tools to verify attachment.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Name of the tool | |
| description | Yes | Description of what the tool does | |
| source_code | Yes | Python source code for the tool | |
| category | No | Category/tag for the tool (e.g., "plane_api", "utility") | custom |
| agent_id | No | Optional agent ID to attach the tool to after creation |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| tool_id | Yes | ||
| category | No | ||
| attached_to_agent | No |