Server and tool names quoted in error replies are now escaped first.
What's wrong with this entry?
Error responses that quote a server or tool name back to the caller now pass that name through a sanitizing helper instead of dropping it in raw, so an odd name cannot alter the message around it.
- Covers
Server not found:, the enterprise managed-policy block message,Not a fully-qualified MCP tool name:,mcp_call cancelled by client:andMCP server not connected:. - Applies on every one of those paths with no condition. What exactly the helper strips is not visible from this code.
MCP server not connected:
Strings lifted out of the shipped bundle, so the claim above can be checked against them.