Skip to main content

ListRootsRequest

Type Alias ListRootsRequest 

Source
pub type ListRootsRequest = RequestNoParam<ListRootsRequestMethod>;
👎Deprecated since 2.0.0:

Roots is deprecated by SEP-2577 and will be removed in a future release. See https://github.com/modelcontextprotocol/modelcontextprotocol/pull/2577

Aliased Type§

pub struct ListRootsRequest {
    pub method: ListRootsRequestMethod,
    pub extensions: Extensions,
}

Fields§

§method: ListRootsRequestMethod§extensions: Extensions

extensions will carry anything possible in the context, including the metadata (RequestMetaObject for requests, NotificationMetaObject for notifications)

this is similar with the Extensions in http crate