Skip to content

Your lightweight open-source personal agent.

init

lihua4dde195a287c
diff --git a/nanobot/config/schema.py b/nanobot/config/schema.py
index 7471966b2..aa3e6765f 100644
--- a/nanobot/config/schema.py
+++ b/nanobot/config/schema.py
@@ -140,7 +140,7 @@ class MCPServerConfig(Base):
url: str = "" # HTTP/SSE: endpoint URL
headers: dict[str, str] = Field(default_factory=dict) # HTTP/SSE: custom headers
tool_timeout: int = 30 # seconds before a tool call is cancelled
-
+ enabled_tools: list[str] = Field(default_factory=list) # Only register these tools; empty = all tools
class ToolsConfig(Base):
"""Tools configuration."""