Skip to main content
A content block is one piece of user-facing content: text, an image, audio, a link to a resource, or an embedded resource. Content blocks appear in:

Content types

Content from the Agent is untrusted. See Rendering Agent Content and URIs and Remote Resources. ACP’s ContentBlock is compatible with, and a superset of, the Model Context Protocol (MCP) 2025-06-18 ContentBlock, so Agents can forward content from MCP tool outputs unchanged. ACP adds an optional uri on image content.

Text content

Text may be plain text or Markdown. Clients SHOULD render it as Markdown. See Rendering Agent Content for raw HTML.
All Agents MUST support text content blocks when included in prompts.
string
required
The text content to display
Annotations
Optional metadata about how the content should be used or displayed. Learn more.

Image content

Images can be included for visual context or analysis.
Requires the image prompt capability when included in prompts.
string
required
Base64-encoded image data
string
required
The MIME type of the image (e.g., “image/png”, “image/jpeg”)
string
Optional URI reference for the image source
Annotations
Optional metadata about how the content should be used or displayed. Learn more.

Audio content

Audio data for transcription or analysis.
Requires the audio prompt capability when included in prompts.
string
required
Base64-encoded audio data
string
required
The MIME type of the audio (e.g., “audio/wav”, “audio/mp3”)
Annotations
Optional metadata about how the content should be used or displayed. Learn more.

Embedded resource

Complete resource contents embedded directly in the message.
This is the preferred way to include context in prompts, such as when using @-mentions to reference files or other resources. By embedding the content directly in the request, Clients can include context from sources that the Agent may not have direct access to. Requires the embeddedContext prompt capability when included in prompts.
EmbeddedResourceResource
required
The embedded resource contents, which can be either:
Annotations
Optional metadata about how the content should be used or displayed. Learn more.
References to resources that the Agent can access. All Agents MUST support resource links when included in prompts.
string
required
The URI of the resource
string
required
A human-readable name for the resource
string
The MIME type of the resource
string
Optional display title for the resource
string
Optional description of the resource contents
integer
Optional size of the resource in bytes
Annotations
Optional metadata about how the content should be used or displayed. Learn more.