Class SchemaCacheTool

java.lang.Object
org.gridgain.internal.mcp.tools.SchemaCacheTool

public class SchemaCacheTool extends Object
MCP tool for invalidating the cached schema in case the user doubts of cache incorrectness. Invalidates cached schema for a specific table or all tables. Users should call this after: - Database reconnection - When suspecting stale cached data
  • Constructor Details

    • SchemaCacheTool

      public SchemaCacheTool()
  • Method Details

    • handleInvalidateSchemaCache

      public static reactor.core.publisher.Mono<io.modelcontextprotocol.spec.McpSchema.CallToolResult> handleInvalidateSchemaCache(io.modelcontextprotocol.server.McpAsyncServerExchange exchange, Map<String,Object> arguments)
      Handles the invalidate_schema_cache tool.
      Parameters:
      exchange - MCP server exchange
      arguments - tool arguments (optional tableName)
      Returns:
      reactive MCP tool result