Annotation Interface McpPrompt


Marks a method as a MCP Prompt.
Author:
Christian Tzolov
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Optional human-readable description.
    Unique identifier for the prompt
    Optional human-readable name of the prompt for display purposes.
  • Element Details

    • name

      String name
      Unique identifier for the prompt
      Default:
      ""
    • title

      String title
      Optional human-readable name of the prompt for display purposes.
      Default:
      ""
    • description

      String description
      Optional human-readable description.
      Default:
      ""