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
: The name of the resource.title
: Optional human-readable name of the resource for display purposes.description
: Optional descriptionmimeType
: Optional MIME typesize
: Optional size in bytesaudience
: An array indicating the intended audience(s) for this resource. Valid values are "user"
and "assistant"
. For example, ["user", "assistant"]
indicates content useful for both.priority
: A number from 0.0 to 1.0 indicating the importance of this resource. A value of 1 means “most important” (effectively required), while 0 means “least important” (entirely optional).lastModified
: An ISO 8601 formatted timestamp indicating when the resource was last modified (e.g., "2025-01-12T15:00:58Z"
).inode/directory
, to represent non-regular files (such as directories) that don’t
otherwise have a standard MIME type.
-32002
-32603