Wasm Directoryalpha
Variant

content-block

A displayable block of content.

variant content-block {
  text(text-content),
  image(image-content),
  audio(audio-content),
  resource-link(resource-link),
  resource(embedded-resource),
}

Cases

CasePayloadDescription
texttext-contentPlain text or Markdown. Always supported.
imageimage-contentImage content. Requires the image prompt capability.
audioaudio-contentAudio content. Requires the audio prompt capability.
resource-linkresource-linkA reference to a resource the agent can fetch. Always supported.
resourceembedded-resourceAn embedded resource with content inline. Requires the embedded-context prompt capability. Mirrors MCP's "type": "resource" content block.