bulk_attach_tool_to_agents
Attach a tool to multiple agents simultaneously by filtering them based on name or tags. Use this to efficiently manage tool assignments across your agent network in the Letta system.
Instructions
Attaches a specified tool to multiple agents based on filter criteria (name or tags). Use list_agents to find agents and list_mcp_tools_by_server or upload_tool to get tool IDs.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tool_id | Yes | The ID of the tool to attach. | |
| agent_name_filter | No | Optional: Filter agents by name (exact match or substring, depending on API). | |
| agent_tag_filter | No | Optional: Filter agents by tag(s). Provide a single tag or comma-separated list. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| results | No | ||
| tool_id | Yes | ||
| total_agents | Yes | ||
| failed_attachments | No | ||
| successful_attachments | Yes |