Represents a structured MCP tool failure that should be returned as a tool result.
public sealed class McpToolException : Exception, ISerializable
kind:method, kind:property, kind:ctor. Press Esc to clear.McpToolException(Object?)Initializes a new instance of the McpToolException class.ResultGets the structured tool error result.