HF RL Explorer

Feature Request: Configurable Tool Result Extraction for MCP Client Responses

Feature Request: Configurable Tool Result Extraction for MCP Client Responses: a task in LegoFlow-SWE (Harbor dataset). The MCP client currently has a hardcoded way of extracting tool execution results from the content array inside a CallToolResult . When an MCP server returns a tool response that…

The task

The MCP client currently has a hardcoded way of extracting tool execution results from the `content[]` array inside a `CallToolResult`. When an MCP server returns a tool response that contains ordinary content items (i.e., not `structuredContent`), the client simply joins the text values of all content items with…

Part of Lego-X/LegoFlow-SWE.