Uses of Record Class
com.tnsai.mcp.server.event.ToolErrorEvent
Packages that use ToolErrorEvent
-
Uses of ToolErrorEvent in com.tnsai.mcp.server
Methods in com.tnsai.mcp.server that return types with arguments of type ToolErrorEventModifier and TypeMethodDescriptionMcpRequestHandler.getToolErrorHistory()Returns the history of tool error events (most recent last). -
Uses of ToolErrorEvent in com.tnsai.mcp.server.event
Methods in com.tnsai.mcp.server.event that return ToolErrorEventModifier and TypeMethodDescriptionstatic ToolErrorEventToolErrorEvent.of(String toolName, ToolErrorCategory category, String message) Creates an error event with auto-generated timestamp.static ToolErrorEventToolErrorEvent.of(String toolName, ToolErrorCategory category, String message, Long requestId) Creates an error event with a request ID.Methods in com.tnsai.mcp.server.event with parameters of type ToolErrorEventModifier and TypeMethodDescriptionvoidToolErrorListener.onToolError(ToolErrorEvent event) Called when a tool execution fails.