pub fn is_tool_error(result: &Value) -> boolExpand description
Whether an MCP tools/call result signals a tool-level failure via
the spec’s isError flag. This is distinct from a JSON-RPC protocol
error (handled in connection.rs): a tool can return a successful RPC
response whose payload still represents a failed tool invocation.