McpClient.onListRoots

Handler for roots/list; returns the typed ListRootsResult. Null => unsupported. (roots/list carries no meaningful params, so the handler takes none; prefer setRoots for the common static-roots case.)

class McpClient
ListRootsResult delegate() @(safe) onListRoots;