Fix kwarg

This commit is contained in:
Jeremiah Lowin 2025-05-03 12:15:07 -04:00
commit 5f0193b237

View file

@ -11,7 +11,7 @@ def custom_dict_serializer(data: Any) -> str:
return yaml.dump(data, width=100, sort_keys=False)
server = FastMCP(name="CustomSerializerExample", serializer=custom_dict_serializer)
server = FastMCP(name="CustomSerializerExample", tool_serializer=custom_dict_serializer)
@server.tool()