Annotation Interface McpTool.McpPresentation

Enclosing class:
McpTool

@Target({}) @Retention(RUNTIME) public static @interface McpTool.McpPresentation
How a UI should present this tool's execution as a user-facing activity step ("Creating template \"X\"" instead of manage_template). Emitted under the namespaced _meta key ai.digital/presentation; clients without the convention ignore it. Nothing is emitted when the annotation is all defaults.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Argument field whose value selects an entry from actionTitles().
    Action-specific titles as "ACTION=Title" entries, e.g.
    boolean
    Suppress the tool as a user-visible step (internal plumbing).
    Argument fields (top level, or one level inside a nested object) whose value is the entity display name a UI appends to the title, in preference order.
    Default activity title, e.g.
  • Element Details

    • hidden

      boolean hidden
      Suppress the tool as a user-visible step (internal plumbing).
      Default:
      false
    • title

      String title
      Default activity title, e.g. "Looking up folders".
      Default:
      ""
    • actionField

      String actionField
      Argument field whose value selects an entry from actionTitles().
      Default:
      ""
    • actionTitles

      String[] actionTitles
      Action-specific titles as "ACTION=Title" entries, e.g. "DELETE=Deleting template".
      Default:
      {}
    • nameFields

      String[] nameFields
      Argument fields (top level, or one level inside a nested object) whose value is the entity display name a UI appends to the title, in preference order. Empty means no entity name is ever appended — clients have no fallback fields of their own.
      Default:
      {}