Root extension type

Represents a root directory or file that the server can operate on.

on
Implemented types

Constructors

Root({required String uri, String? name, Meta? meta})
factory
Root.fromMap(Map<String, Object?> _value)

Properties

meta → Meta?
The _meta property/parameter is reserved by MCP to allow clients and servers to attach additional metadata to their interactions.
no setterinherited
name → String?
An optional name for the root.
no setter
uri → String
The URI identifying the root.
no setter