EmbeddedResource
data class EmbeddedResource(val resource: ResourceContents, val annotations: Annotations? = null, val meta: JsonObject? = null) : ContentBlock(source)
The contents of a resource, embedded into a prompt or tool call result.
It is up to the client how best to render embedded resources for the benefit of the LLM and/or the user.
Properties
Link copied to clipboard
Optional annotations for the client.
Link copied to clipboard
property/parameter is reserved by MCP to allow clients and servers to attach additional metadata to their interactions.
Link copied to clipboard
The resource contents.
Link copied to clipboard
discriminator identifying the content block subtype