roots

fun roots(listChanged: Boolean? = null)(source)

Indicates that the client supports listing roots.

Example with listChanged notification:

capabilities {
roots(listChanged = true)
}

Example without listChanged:

capabilities {
roots()
}

Parameters

listChanged

Whether the client will emit notifications when the list of roots changes