Fix missing return value

This commit is contained in:
Dominik Jain committed 2025-03-30 18:11:45 +02:00
1 parent 8c87127ffb
commit 27279cb635
1 file changed
+1 -1
+1 -1
View File
@@ -55,7 +55,7 @@ def make_tool(
def execute_fn(ctx: Context, *args, **kwargs) -> str: # type: ignore
mark_used(ctx)
tool.apply_ex(*args, log_call=True, catch_exceptions=True, **kwargs)
return tool.apply_ex(*args, log_call=True, catch_exceptions=True, **kwargs)
return MCPTool(
fn=execute_fn,