We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 61a537f commit b82aef0Copy full SHA for b82aef0
src/agentlab/backends/browser/mcp.py
@@ -159,7 +159,7 @@ def step(self, action: ToolCallAction) -> dict:
159
def call_tool(self, tool_name: str, arguments: dict) -> list[TextContent | ImageContent]:
160
tool_result = self._mcp.call_tool(tool_name, arguments)
161
if tool_result.isError:
162
- return [TextContent(text=f"Error calling tool {tool_name}: {tool_result.error}")]
+ return [TextContent(text=f"Error calling tool {tool_name}")] + tool_result.content
163
return tool_result.content
164
165
def actions(self) -> tuple[ToolSpec]:
0 commit comments