Skip to content

Slot: content

Structured content block of a message or result.

URI: mcp:content Alias: content

Applicable Classes

Name Description Modifies Slot
PromptMessage Describes a message returned as part of a prompt yes
SamplingMessage Describes a message issued to or received from an LLM API yes
ElicitResult The result returned by the client for an elicitation/create request yes
CreateMessageResult The result returned by the client for a sampling/createMessage request yes
ToolResultContent The result of a tool use, provided by the user back to the assistant yes
CallToolResult The result returned by the server for a tools/call request yes

Properties

Type and Range

Property Value
Range ContentBlock
Domain Of ToolResultContent, PromptMessage, SamplingMessage, CallToolResult, CreateMessageResult, ElicitResult

Cardinality and Requirements

Property Value

Identifier and Mapping Information

Schema Source

Mappings

Mapping Type Mapped Value
self mcp:content
native mcp:content

LinkML Source

name: content
description: Structured content block of a message or result.
from_schema: https://w3id.org/lmodel/mcp
rank: 1000
alias: content
domain_of:
- ToolResultContent
- PromptMessage
- SamplingMessage
- CallToolResult
- CreateMessageResult
- ElicitResult
range: ContentBlock