This appears to be a bug, if I annotate regular methods with the @function_tool and try to debug them outside of the agent logic, I get a FunctionTool object not callable. Removing the annotation works, however, I think this should not be a blocking TypeError as most existing methods should be elevated as function tools. Alternately, I can create a wrapper around existing functions and decorate with @function_tool but that is extraneous code.
AgentsSDK - @function_tool decorator throws Type Error when used as a regular function for debugging
Any updates or a preferred design pattern for this invocation ? I am skeptical of adding too many wrapper methods for every tool call.