Class: Icon
An optionally-sized icon that can be displayed in a user interface.
URI: mcp:Icon
classDiagram
class Icon
click Icon href "../Icon/"
Icon : mimeType
Icon : sizes
Icon : src
Icon : theme
Icon --> "0..1" IconThemeEnum : theme
click IconThemeEnum href "../IconThemeEnum/"
Slots
| Name | Cardinality and Range | Description | Inheritance |
|---|---|---|---|
| src | 1 uri |
A standard URI pointing to an icon resource | direct |
| mimeType | 0..1 String |
The MIME type of a resource, if known | direct |
| sizes | * String |
Optional array of strings specifying sizes (WxH format or "any") | direct |
| theme | 0..1 IconThemeEnum |
Optional theme specifier for the icon | direct |
Usages
| used by | used in | type | used |
|---|---|---|---|
| HasIcons | icons | range | Icon |
| Implementation | icons | range | Icon |
| ResourceLink | icons | range | Icon |
| Resource | icons | range | Icon |
| ResourceTemplate | icons | range | Icon |
| Prompt | icons | range | Icon |
| Tool | icons | range | Icon |
Identifier and Mapping Information
Schema Source
- from schema: https://w3id.org/lmodel/mcp
Mappings
| Mapping Type | Mapped Value |
|---|---|
| self | mcp:Icon |
| native | mcp:Icon |
LinkML Source
Direct
name: Icon
description: An optionally-sized icon that can be displayed in a user interface.
from_schema: https://w3id.org/lmodel/mcp
slots:
- src
- mimeType
- sizes
- theme
slot_usage:
src:
name: src
required: true
Induced
name: Icon
description: An optionally-sized icon that can be displayed in a user interface.
from_schema: https://w3id.org/lmodel/mcp
slot_usage:
src:
name: src
required: true
attributes:
src:
name: src
description: A standard URI pointing to an icon resource.
from_schema: https://w3id.org/lmodel/mcp
rank: 1000
alias: src
owner: Icon
domain_of:
- Icon
range: uri
required: true
mimeType:
name: mimeType
description: The MIME type of a resource, if known.
from_schema: https://w3id.org/lmodel/mcp
rank: 1000
alias: mimeType
owner: Icon
domain_of:
- Icon
- ImageContent
- AudioContent
- ResourceLink
- ResourceContents
- TextResourceContents
- BlobResourceContents
- Resource
- ResourceTemplate
range: string
sizes:
name: sizes
description: Optional array of strings specifying sizes (WxH format or "any").
from_schema: https://w3id.org/lmodel/mcp
rank: 1000
alias: sizes
owner: Icon
domain_of:
- Icon
range: string
multivalued: true
theme:
name: theme
description: Optional theme specifier for the icon.
from_schema: https://w3id.org/lmodel/mcp
rank: 1000
alias: theme
owner: Icon
domain_of:
- Icon
range: IconThemeEnum