resources
capability:
subscribe
: whether the client can subscribe to be notified of changes to individual
resources.listChanged
: whether the server will emit notifications when the list of available
resources changes.subscribe
and listChanged
are optional—servers can support neither,
either, or both:
resources/list
request. This operation
supports
pagination.
Request:
resources/read
request:
Request:
listChanged
capability SHOULD send a notification:
uri
: Unique identifier for the resourcename
: Human-readable namedescription
: Optional descriptionmimeType
: Optional MIME typeinode/directory
, to represent non-regular files (such as directories) that don’t
otherwise have a standard MIME type.
-32002
-32603