Annotation Interface McpPrompt


Applies to methods that expose an MCP prompt.
Author:
Mark Allen
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    Declares the human-readable prompt description.
    Declares the MCP prompt name.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Declares optional prompt title metadata for clients that display a separate title.
  • Element Details

    • name

      Declares the MCP prompt name.
      Returns:
      the prompt name exposed to MCP clients
    • description

      Declares the human-readable prompt description.
      Returns:
      the prompt description
    • title

      Declares optional prompt title metadata for clients that display a separate title.
      Returns:
      the prompt title, or an empty string if unspecified
      Default:
      ""