add_mcp_tool_to_letta
Register an MCP tool from a connected server and attach it to a specific agent in the Letta system for expanded functionality.
Instructions
Registers a tool from a connected MCP server as a native Letta tool AND attaches it to a specified agent. Use list_mcp_tools_by_server to find available tools, and list_agents to get agent IDs.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tool_name | Yes | The name of the MCP tool to find, register, and attach. | |
| agent_id | Yes | The ID of the agent to attach the newly registered tool to. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| success | Yes | ||
| tool_id | No | ||
| agent_id | No | ||
| tool_name | Yes | ||
| attached_to_agent | No |