listRoots
abstract suspend fun listRoots(request: ListRootsRequest = ListRootsRequest(), options: RequestOptions? = null): ListRootsResult(source)
Lists the available "roots" from the client's perspective (if supported).
Roots define the boundaries of where servers can operate within the filesystem, allowing them to understand which directories and files they have access to
Return
The list of roots.
Parameters
request
Optional request parameters containing metadata for the list roots operation.
options
Optional request options, such as timeout or progress callback settings.
Throws
If the server or client does not support roots.