Skip to content

Class: PromptReference

Identifies a prompt.

URI: mcp:PromptReference

 classDiagram
    class PromptReference
    click PromptReference href "../PromptReference/"
      HasName <|-- PromptReference
        click HasName href "../HasName/"

      PromptReference : name

      PromptReference : title

      PromptReference : type

Inheritance

Slots

Name Cardinality and Range Description Inheritance
type 1
String
Type discriminator field direct
name 1
String
Intended for programmatic or logical use, but used as a display name in past ... HasName
title 0..1
String
Intended for UI and end-user contexts — optimized to be human-readable and ea... HasName

Usages

used by used in type used
CompleteRequestParams ref range PromptReference

Identifier and Mapping Information

Schema Source

Mappings

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

LinkML Source

Direct

name: PromptReference
description: Identifies a prompt.
from_schema: https://w3id.org/lmodel/mcp
mixins:
- HasName
slots:
- type
slot_usage:
  name:
    name: name
    required: true
  type:
    name: type
    required: true
    equals_string: ref/prompt

Induced

name: PromptReference
description: Identifies a prompt.
from_schema: https://w3id.org/lmodel/mcp
mixins:
- HasName
slot_usage:
  name:
    name: name
    required: true
  type:
    name: type
    required: true
    equals_string: ref/prompt
attributes:
  type:
    name: type
    description: Type discriminator field.
    from_schema: https://w3id.org/lmodel/mcp
    rank: 1000
    alias: type
    owner: PromptReference
    domain_of:
    - TextContent
    - ImageContent
    - AudioContent
    - ContentBlock
    - EmbeddedResource
    - ResourceLink
    - ToolUseContent
    - ToolResultContent
    - PromptReference
    - ResourceTemplateReference
    - SchemaItems
    - JsonSchema
    - StringSchema
    - NumberSchema
    - BooleanSchema
    - UntitledSingleSelectEnumSchema
    - TitledSingleSelectEnumSchema
    - UntitledMultiSelectEnumSchema
    - TitledMultiSelectEnumSchema
    - LegacyTitledEnumSchema
    range: string
    required: true
    equals_string: ref/prompt
  name:
    name: name
    description: Intended for programmatic or logical use, but used as a display name
      in past specs or fallback (if title is not present).
    from_schema: https://w3id.org/lmodel/mcp
    rank: 1000
    slot_uri: schema:name
    alias: name
    owner: PromptReference
    domain_of:
    - HasName
    - ToolUseContent
    - Root
    - CompletionArgument
    - SchemaProperties
    - ElicitationContent
    - ModelHint
    - CallToolRequestParams
    - GetPromptRequestParams
    range: string
    required: true
  title:
    name: title
    description: Intended for UI and end-user contexts — optimized to be human-readable
      and easily understood.
    from_schema: https://w3id.org/lmodel/mcp
    rank: 1000
    slot_uri: dct:title
    alias: title
    owner: PromptReference
    domain_of:
    - HasName
    - ToolAnnotations
    - EnumOption
    - JsonSchema
    - StringSchema
    - NumberSchema
    - BooleanSchema
    - UntitledSingleSelectEnumSchema
    - TitledSingleSelectEnumSchema
    - UntitledMultiSelectEnumSchema
    - TitledMultiSelectEnumSchema
    - LegacyTitledEnumSchema
    range: string