Tool failure errors now visible

Fixed tool-failure error messages from Cursor, Copilot, and Grok agents to display prominently instead of being hidden behind stale tool names. When a tool fails, the error message now surfaces as the last message instead of showing the tool that was attempted.