Skip to content

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

Remove unclear comment about validate_call

Jeremiah Lowinef1368fda5f6
diff --git a/src/fastmcp/prompts/prompt.py b/src/fastmcp/prompts/prompt.py
index bf843d84a..37cf7c720 100644
--- a/src/fastmcp/prompts/prompt.py
+++ b/src/fastmcp/prompts/prompt.py
@@ -185,8 +185,6 @@ class FunctionPrompt(Prompt):
)
)
- # Store original function without validate_call to handle our own conversion
-
return cls(
name=func_name,
description=description,