ListRootsRequest

mcp.schema.request.ListRootsRequest
See theListRootsRequest companion object
final case class ListRootsRequest() extends Request

Sent from the server to request a list of root URIs from the client. Roots allow servers to ask for specific directories or files to operate on. A common example for roots is providing a set of repositories or directories a server should operate on.

This request is typically used when the server needs to understand the file system structure or access specific locations that the client has permission to read from.

Attributes

Companion
object
Source
ListRootsRequest.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait Request
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

override def method: Method

Attributes

Definition Classes
Source
ListRootsRequest.scala

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product