Skip to content

Slot: type

Type discriminator field.

URI: mcp:type Alias: type

Applicable Classes

Name Description Modifies Slot
StringSchema String schema definition yes
ResourceLink A resource that the server is capable of reading, included in a prompt or too... yes
ToolUseContent A request from the assistant to call a tool yes
NumberSchema Number schema definition yes
TitledMultiSelectEnumSchema Multi-selection enum with display titles for each option yes
SchemaItems JSON Schema items expression used by enum multi-select schemas no
EmbeddedResource The contents of a resource, embedded into a prompt or tool call result yes
AudioContent Audio provided to or from an LLM yes
PromptReference Identifies a prompt yes
ContentBlock Structured text content block no
TitledSingleSelectEnumSchema Single-selection enum with display titles for each option yes
ImageContent An image provided to or from an LLM yes
UntitledMultiSelectEnumSchema Multi-selection enum without display titles yes
JsonSchema Restricted JSON Schema object used in MCP payloads no
LegacyTitledEnumSchema Legacy titled enum schema yes
UntitledSingleSelectEnumSchema Single-selection enum without display titles yes
ResourceTemplateReference A reference to a resource or resource template definition yes
ToolResultContent The result of a tool use, provided by the user back to the assistant yes
TextContent Text provided to or from an LLM yes
BooleanSchema Boolean schema definition yes

Properties

Type and Range

Property Value
Range String
Domain Of TextContent, ImageContent, AudioContent, ContentBlock, EmbeddedResource, ResourceLink, ToolUseContent, ToolResultContent, PromptReference, ResourceTemplateReference, SchemaItems, JsonSchema, StringSchema, NumberSchema, BooleanSchema, UntitledSingleSelectEnumSchema, TitledSingleSelectEnumSchema, UntitledMultiSelectEnumSchema, TitledMultiSelectEnumSchema, LegacyTitledEnumSchema

Cardinality and Requirements

Property Value

Identifier and Mapping Information

Schema Source

Mappings

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

LinkML Source

name: type
description: Type discriminator field.
from_schema: https://w3id.org/lmodel/mcp
rank: 1000
alias: type
domain_of:
- TextContent
- ImageContent
- AudioContent
- ContentBlock
- EmbeddedResource
- ResourceLink
- ToolUseContent
- ToolResultContent
- PromptReference
- ResourceTemplateReference
- SchemaItems
- JsonSchema
- StringSchema
- NumberSchema
- BooleanSchema
- UntitledSingleSelectEnumSchema
- TitledSingleSelectEnumSchema
- UntitledMultiSelectEnumSchema
- TitledMultiSelectEnumSchema
- LegacyTitledEnumSchema
range: string