Skip to content

Class: PromptArgument

Describes an argument that a prompt can accept.

URI: mcp:PromptArgument

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

      PromptArgument : description

      PromptArgument : name

      PromptArgument : required

      PromptArgument : required_field

      PromptArgument : title

Inheritance

Slots

Name Cardinality and Range Description Inheritance
description 0..1
String
A human-readable description direct
required 0..1
Boolean
Whether this argument must be provided direct
required_field 0..1
Boolean
Whether this argument must be provided 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
Prompt arguments range PromptArgument

Identifier and Mapping Information

Schema Source

Mappings

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

LinkML Source

Direct

name: PromptArgument
description: Describes an argument that a prompt can accept.
from_schema: https://w3id.org/lmodel/mcp
mixins:
- HasName
slots:
- description
- required
- required_field
slot_usage:
  name:
    name: name
    required: true

Induced

name: PromptArgument
description: Describes an argument that a prompt can accept.
from_schema: https://w3id.org/lmodel/mcp
mixins:
- HasName
slot_usage:
  name:
    name: name
    required: true
attributes:
  description:
    name: description
    description: A human-readable description.
    from_schema: https://w3id.org/lmodel/mcp
    rank: 1000
    slot_uri: dct:description
    alias: description
    owner: PromptArgument
    domain_of:
    - Implementation
    - ResourceLink
    - Resource
    - ResourceTemplate
    - PromptArgument
    - Prompt
    - JsonSchema
    - Tool
    - StringSchema
    - NumberSchema
    - BooleanSchema
    - UntitledSingleSelectEnumSchema
    - TitledSingleSelectEnumSchema
    - UntitledMultiSelectEnumSchema
    - TitledMultiSelectEnumSchema
    - LegacyTitledEnumSchema
    - GetPromptResult
    range: string
  required:
    name: required
    description: Whether this argument must be provided.
    from_schema: https://w3id.org/lmodel/mcp
    rank: 1000
    alias: required
    owner: PromptArgument
    domain_of:
    - PromptArgument
    range: boolean
  required_field:
    name: required_field
    description: Whether this argument must be provided.
    from_schema: https://w3id.org/lmodel/mcp
    aliases:
    - required
    rank: 1000
    alias: required_field
    owner: PromptArgument
    domain_of:
    - PromptArgument
    range: boolean
  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: PromptArgument
    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: PromptArgument
    domain_of:
    - HasName
    - ToolAnnotations
    - EnumOption
    - JsonSchema
    - StringSchema
    - NumberSchema
    - BooleanSchema
    - UntitledSingleSelectEnumSchema
    - TitledSingleSelectEnumSchema
    - UntitledMultiSelectEnumSchema
    - TitledMultiSelectEnumSchema
    - LegacyTitledEnumSchema
    range: string