Skip to content

πŸš€ The fast, Pythonic way to build MCP servers and clients.

Update tool-transformation.mdx (#2009)

Markb12886229ffe
diff --git a/docs/patterns/tool-transformation.mdx b/docs/patterns/tool-transformation.mdx
index 89f9370de..730996d51 100644
--- a/docs/patterns/tool-transformation.mdx
+++ b/docs/patterns/tool-transformation.mdx
@@ -548,7 +548,7 @@ Provide your own schema that differs from the parent. The tool must return data
**Remove Output Schema**
```python
-Tool.from_tool(parent_tool, output_schema=False)
+Tool.from_tool(parent_tool, output_schema=None)
```
Removes the output schema declaration. Automatic structured content still works for object-like returns (dict, dataclass, Pydantic models) but primitive types won't be structured.