Skip to content

AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.

fix(backend/copilot): disallow the CLI's ListAgents and SendMessage tools (#15109)

Nicholas Tindleb958f5ba76a5
diff --git a/autogpt_platform/backend/backend/copilot/sdk/tool_adapter.py b/autogpt_platform/backend/backend/copilot/sdk/tool_adapter.py
index 0f25a653a0..f6e733fddf 100644
--- a/autogpt_platform/backend/backend/copilot/sdk/tool_adapter.py
+++ b/autogpt_platform/backend/backend/copilot/sdk/tool_adapter.py
@@ -1135,6 +1135,8 @@ SDK_DISALLOWED_TOOLS = [
"CronCreate",
"CronList",
"CronDelete",
+ "ListAgents",
+ "SendMessage",
]
# Tools that are blocked entirely in security hooks (defence-in-depth).