Skip to content

A reactive notebook for Python — run reproducible experiments, query with SQL, execute as a script, deploy as an app, and version with git. Stored as pure Python. All in a modern, AI-native editor.

preview: fix tools feature flag name (#6097)

Myles Scolnick0da0fdd1d1a5
diff --git a/marimo/_server/ai/tools.py b/marimo/_server/ai/tools.py
index c18e074f6c..c97e861bc3 100644
--- a/marimo/_server/ai/tools.py
+++ b/marimo/_server/ai/tools.py
@@ -33,6 +33,9 @@ class Tool:
source: ToolSource
mode: list[CopilotMode] # tools can be available in multiple modes
+ def __str__(self) -> str:
+ return f"Tool(name={self.name}, description={self.description})"
+
@dataclass
class ToolResult:
@@ -57,7 +60,7 @@ class ToolManager:
current_path=None
).get_config()
self._enable_mcp_tools = self._config.get("experimental", {}).get(
- "mcp_tools", False
+ "mcp_docs", False
)
# Don't register tools in __init__ to avoid circular imports