Slot: role
The role of the sender or recipient.
URI: mcp:role
Alias: role
Applicable Classes
| Name |
Description |
Modifies Slot |
| CreateMessageResult |
The result returned by the client for a sampling/createMessage request |
yes |
| PromptMessage |
Describes a message returned as part of a prompt |
yes |
| SamplingMessage |
Describes a message issued to or received from an LLM API |
yes |
Properties
Type and Range
Cardinality and Requirements
Schema Source
Mappings
| Mapping Type |
Mapped Value |
| self |
mcp:role |
| native |
mcp:role |
LinkML Source
name: role
description: The role of the sender or recipient.
from_schema: https://w3id.org/lmodel/mcp
rank: 1000
alias: role
domain_of:
- PromptMessage
- SamplingMessage
- CreateMessageResult
range: Role