MCPAgent text mode fails to parse tool calls in multiple formats, returns raw JSON instead of executing tools
MCPAgent text mode fails to parse tool calls in multiple formats, returns raw JSON instead of executing tools: a task in LegoFlow-SWE (Harbor dataset). The agent’s text‑based tool call parsing must accept all of the following formats and correctly extract a list of tool call dictionaries (each…
The task
The agent’s text‑based tool call parsing must accept **all** of the following formats and correctly extract a list of tool call dictionaries (each containing the keys `server_idx`, `tool_name`, and `tool_args`):
Part of Lego-X/LegoFlow-SWE.