We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9fb9ce6 commit b0e7375Copy full SHA for b0e7375
src/mcp/server/fastmcp/resources/types.py
@@ -87,7 +87,7 @@ def from_function(
87
88
return cls(
89
uri=AnyUrl(uri),
90
- name=name,
+ name=func_name,
91
description=description or fn.__doc__ or "",
92
mime_type=mime_type or "text/plain",
93
fn=fn,
0 commit comments