Class: HasAnnotations
Mixin for types that carry annotations.
URI: mcp:HasAnnotations
classDiagram
class HasAnnotations
click HasAnnotations href "../HasAnnotations/"
HasAnnotations <|-- TextContent
click TextContent href "../TextContent/"
HasAnnotations <|-- ImageContent
click ImageContent href "../ImageContent/"
HasAnnotations <|-- AudioContent
click AudioContent href "../AudioContent/"
HasAnnotations <|-- EmbeddedResource
click EmbeddedResource href "../EmbeddedResource/"
HasAnnotations <|-- ResourceLink
click ResourceLink href "../ResourceLink/"
HasAnnotations <|-- Resource
click Resource href "../Resource/"
HasAnnotations <|-- ResourceTemplate
click ResourceTemplate href "../ResourceTemplate/"
HasAnnotations : annotations
HasAnnotations --> "0..1" Annotations : annotations
click Annotations href "../Annotations/"
Class Properties
Slots
| Name |
Cardinality and Range |
Description |
Inheritance |
| annotations |
0..1 Annotations |
Optional annotations for the client |
direct |
Mixin Usage
| mixed into |
description |
| TextContent |
Text provided to or from an LLM |
| ImageContent |
An image provided to or from an LLM |
| AudioContent |
Audio provided to or from an LLM |
| EmbeddedResource |
The contents of a resource, embedded into a prompt or tool call result |
| ResourceLink |
A resource that the server is capable of reading, included in a prompt or too... |
| Resource |
A known resource that the server is capable of reading |
| ResourceTemplate |
A template description for resources available on the server |
Schema Source
Mappings
| Mapping Type |
Mapped Value |
| self |
mcp:HasAnnotations |
| native |
mcp:HasAnnotations |
LinkML Source
Direct
name: HasAnnotations
description: Mixin for types that carry annotations.
from_schema: https://w3id.org/lmodel/mcp
mixin: true
slots:
- annotations
Induced
name: HasAnnotations
description: Mixin for types that carry annotations.
from_schema: https://w3id.org/lmodel/mcp
mixin: true
attributes:
annotations:
name: annotations
description: Optional annotations for the client.
from_schema: https://w3id.org/lmodel/mcp
rank: 1000
alias: annotations
owner: HasAnnotations
domain_of:
- HasAnnotations
- Tool
range: Annotations
inlined: true