Skip to content

McpResourceContent

← All HTTP schemas

The content of a resource that was read.

Shape: object

Property Required Type Description Rules
uri yes string The resource URI.
mimeType no string The MIME type.
text no string The text content. null for binary resources.
isBinary no boolean Whether the resource is binary (a blob).
byteSize no integer (int32) The byte size of the raw content (before truncation). pattern `^-?(?:0\
truncated no boolean Whether the content was truncated because it exceeded the size limit.