You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have searched to see if a similar issue already exists.
Is your feature request related to a problem? Please describe.
Actually, when adding a HTTP API or a MCP Tool, if the function is a method overriding an inherited one, only the docstring of the concrete method is used, without searching in the hierarchy, making it mandatory to copy paste the parent method docstring to make it available in the MCP Tool description.
Describe the solution you'd like
Use the docstring from parent methods if the concrete method does not have one.
Additional context
The standard function inspect.getdoc provide this feature. Using it instead of fn.__doc__ in utils.py could help.