Class: MCPContentItem¶
A single MCP content item (resource, text, or image). Carries Debrief-specific annotations (debrief:* keys) on every item. Closes audit §3.1 row 15.
URI: debrief:class/MCPContentItem
classDiagram
class MCPContentItem
click MCPContentItem href "../../classes/MCPContentItem/"
MCPContentItem : annotations
MCPContentItem --> "1" Any : annotations
click Any href "../../classes/Any/"
MCPContentItem : data
MCPContentItem : mimeType
MCPContentItem : resource
MCPContentItem --> "0..1" Any : resource
click Any href "../../classes/Any/"
MCPContentItem : text
MCPContentItem : type
Slots¶
| Name | Cardinality and Range | Description | Inheritance |
|---|---|---|---|
| type | 1 String |
Content-item discriminator | direct |
| resource | 0..1 Any |
Nested resource descriptor { uri, mimeType, text } when type=resource |
direct |
| text | 0..1 String |
Body text when type=text | direct |
| data | 0..1 String |
Base64-encoded payload when type=image | direct |
| mimeType | 0..1 String |
IANA media type when type=image or type=resource | direct |
| annotations | 1 Any |
Debrief-specific annotations (debrief:resultType, debrief:label, `debrief... |
direct |
Usages¶
| used by | used in | type | used |
|---|---|---|---|
| MCPToolResponse | content | range | MCPContentItem |
Identifier and Mapping Information¶
Schema Source¶
- from schema: https://debrief.info/schemas/debrief
Mappings¶
| Mapping Type | Mapped Value |
|---|---|
| self | debrief:MCPContentItem |
| native | debrief:MCPContentItem |
LinkML Source¶
Direct¶
name: MCPContentItem
description: A single MCP content item (resource, text, or image). Carries Debrief-specific
annotations (debrief:* keys) on every item. Closes audit §3.1 row 15.
from_schema: https://debrief.info/schemas/debrief
attributes:
type:
name: type
description: Content-item discriminator. Current consumers emit `resource`, `text`,
`image`. Kept as string to remain additive over any future MCP content-item
types.
from_schema: https://debrief.info/schemas/mcp
domain_of:
- GeoJSONPoint
- GeoJSONEmptyPoint
- GeoJSONLineString
- GeoJSONPolygon
- GeoJSONMultiPoint
- GeoJSONMultiLineString
- GeoJSONMultiPolygon
- TrackFeature
- ReferenceLocation
- SystemState
- MultiPointFeature
- MultiPolygonFeature
- NarrativeEntry
- CircleAnnotation
- RectangleAnnotation
- LineAnnotation
- TextAnnotation
- VectorAnnotation
- PolyAnnotation
- ToolParameter
- FileProvEntry
- StacItem
- StacCatalog
- StacLink
- StacAsset
- StacItemAssetDefinition
- StacCollection
- RawGeoJSONFeature
- RawGeoJSONFeatureCollection
- DatasetAxisMetadata
- DatasetEntry
- StoryboardFeature
- SceneFeature
- SceneThumbnailAssetEntry
- MCPContentItem
- MCPParamSchema
- ToolsUpdateMessage
range: string
required: true
resource:
name: resource
description: Nested resource descriptor `{ uri, mimeType, text }` when type=resource.
Free-form per Article XV.2 (the inner shape is driven by individual tool authors).
from_schema: https://debrief.info/schemas/mcp
rank: 1000
domain_of:
- MCPContentItem
range: Any
text:
name: text
description: Body text when type=text.
from_schema: https://debrief.info/schemas/mcp
domain_of:
- NarrativeEntryProperties
- TextAnnotationProperties
- MCPContentItem
range: string
data:
name: data
description: Base64-encoded payload when type=image.
from_schema: https://debrief.info/schemas/mcp
rank: 1000
domain_of:
- MCPContentItem
range: string
mimeType:
name: mimeType
description: IANA media type when type=image or type=resource.
from_schema: https://debrief.info/schemas/mcp
rank: 1000
domain_of:
- MCPContentItem
range: string
annotations:
name: annotations
description: Debrief-specific annotations (`debrief:resultType`, `debrief:label`,
`debrief:sourceFeatures`, etc). Free-form per Article XV.2 because the key set
is open-ended and uses colons (`debrief:*`) that LinkML cannot constrain as
slot names.
from_schema: https://debrief.info/schemas/mcp
rank: 1000
domain_of:
- MCPContentItem
- MCPToolDefinition
range: Any
required: true
Induced¶
name: MCPContentItem
description: A single MCP content item (resource, text, or image). Carries Debrief-specific
annotations (debrief:* keys) on every item. Closes audit §3.1 row 15.
from_schema: https://debrief.info/schemas/debrief
attributes:
type:
name: type
description: Content-item discriminator. Current consumers emit `resource`, `text`,
`image`. Kept as string to remain additive over any future MCP content-item
types.
from_schema: https://debrief.info/schemas/mcp
alias: type
owner: MCPContentItem
domain_of:
- GeoJSONPoint
- GeoJSONEmptyPoint
- GeoJSONLineString
- GeoJSONPolygon
- GeoJSONMultiPoint
- GeoJSONMultiLineString
- GeoJSONMultiPolygon
- TrackFeature
- ReferenceLocation
- SystemState
- MultiPointFeature
- MultiPolygonFeature
- NarrativeEntry
- CircleAnnotation
- RectangleAnnotation
- LineAnnotation
- TextAnnotation
- VectorAnnotation
- PolyAnnotation
- ToolParameter
- FileProvEntry
- StacItem
- StacCatalog
- StacLink
- StacAsset
- StacItemAssetDefinition
- StacCollection
- RawGeoJSONFeature
- RawGeoJSONFeatureCollection
- DatasetAxisMetadata
- DatasetEntry
- StoryboardFeature
- SceneFeature
- SceneThumbnailAssetEntry
- MCPContentItem
- MCPParamSchema
- ToolsUpdateMessage
range: string
required: true
resource:
name: resource
description: Nested resource descriptor `{ uri, mimeType, text }` when type=resource.
Free-form per Article XV.2 (the inner shape is driven by individual tool authors).
from_schema: https://debrief.info/schemas/mcp
rank: 1000
alias: resource
owner: MCPContentItem
domain_of:
- MCPContentItem
range: Any
text:
name: text
description: Body text when type=text.
from_schema: https://debrief.info/schemas/mcp
alias: text
owner: MCPContentItem
domain_of:
- NarrativeEntryProperties
- TextAnnotationProperties
- MCPContentItem
range: string
data:
name: data
description: Base64-encoded payload when type=image.
from_schema: https://debrief.info/schemas/mcp
rank: 1000
alias: data
owner: MCPContentItem
domain_of:
- MCPContentItem
range: string
mimeType:
name: mimeType
description: IANA media type when type=image or type=resource.
from_schema: https://debrief.info/schemas/mcp
rank: 1000
alias: mimeType
owner: MCPContentItem
domain_of:
- MCPContentItem
range: string
annotations:
name: annotations
description: Debrief-specific annotations (`debrief:resultType`, `debrief:label`,
`debrief:sourceFeatures`, etc). Free-form per Article XV.2 because the key set
is open-ended and uses colons (`debrief:*`) that LinkML cannot constrain as
slot names.
from_schema: https://debrief.info/schemas/mcp
rank: 1000
alias: annotations
owner: MCPContentItem
domain_of:
- MCPContentItem
- MCPToolDefinition
range: Any
required: true