fix(agent): preserve bare email tool parity (#5075)

This commit is contained in:
RaresKeY
2026-06-30 20:20:56 +02:00
committed by GitHub
parent 7522b02034
commit d85afd5d72
4 changed files with 102 additions and 13 deletions
+3
View File
@@ -907,6 +907,9 @@ async def _execute_tool_block_impl(
if _args_error is not None:
result = {"error": _args_error, "exit_code": 1}
else:
if owner:
args = dict(args)
args[_EMAIL_MCP_OWNER_ARG] = owner
result = await mcp.call_tool(qualified, args)
else:
result = {"error": "MCP manager not available", "exit_code": 1}