Skip to content

Class: ToolAnnotations

Additional properties describing a Tool to clients. All properties are hints, not guarantees.

URI: mcp:ToolAnnotations

 classDiagram
    class ToolAnnotations
    click ToolAnnotations href "../ToolAnnotations/"
      ToolAnnotations : destructiveHint

      ToolAnnotations : idempotentHint

      ToolAnnotations : openWorldHint

      ToolAnnotations : readOnlyHint

      ToolAnnotations : title

Slots

Name Cardinality and Range Description Inheritance
title 0..1
String
Intended for UI and end-user contexts — optimized to be human-readable and ea... direct
destructiveHint 0..1
Boolean
If true, the tool may perform destructive updates direct
idempotentHint 0..1
Boolean
If true, calling repeatedly with same arguments has no additional effect direct
openWorldHint 0..1
Boolean
If true, tool may interact with an open world of external entities direct
readOnlyHint 0..1
Boolean
If true, the tool does not modify its environment direct

Usages

used by used in type used
Tool annotations range ToolAnnotations

Identifier and Mapping Information

Schema Source

Mappings

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

LinkML Source

Direct

name: ToolAnnotations
description: Additional properties describing a Tool to clients. All properties are
  hints, not guarantees.
from_schema: https://w3id.org/lmodel/mcp
slots:
- title
- destructiveHint
- idempotentHint
- openWorldHint
- readOnlyHint

Induced

name: ToolAnnotations
description: Additional properties describing a Tool to clients. All properties are
  hints, not guarantees.
from_schema: https://w3id.org/lmodel/mcp
attributes:
  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: ToolAnnotations
    domain_of:
    - HasName
    - ToolAnnotations
    - EnumOption
    - JsonSchema
    - StringSchema
    - NumberSchema
    - BooleanSchema
    - UntitledSingleSelectEnumSchema
    - TitledSingleSelectEnumSchema
    - UntitledMultiSelectEnumSchema
    - TitledMultiSelectEnumSchema
    - LegacyTitledEnumSchema
    range: string
  destructiveHint:
    name: destructiveHint
    description: If true, the tool may perform destructive updates.
    from_schema: https://w3id.org/lmodel/mcp
    rank: 1000
    alias: destructiveHint
    owner: ToolAnnotations
    domain_of:
    - ToolAnnotations
    range: boolean
  idempotentHint:
    name: idempotentHint
    description: If true, calling repeatedly with same arguments has no additional
      effect.
    from_schema: https://w3id.org/lmodel/mcp
    rank: 1000
    alias: idempotentHint
    owner: ToolAnnotations
    domain_of:
    - ToolAnnotations
    range: boolean
  openWorldHint:
    name: openWorldHint
    description: If true, tool may interact with an open world of external entities.
    from_schema: https://w3id.org/lmodel/mcp
    rank: 1000
    alias: openWorldHint
    owner: ToolAnnotations
    domain_of:
    - ToolAnnotations
    range: boolean
  readOnlyHint:
    name: readOnlyHint
    description: If true, the tool does not modify its environment.
    from_schema: https://w3id.org/lmodel/mcp
    rank: 1000
    alias: readOnlyHint
    owner: ToolAnnotations
    domain_of:
    - ToolAnnotations
    range: boolean