Annotation Interface McpTool.McpPresentation
- Enclosing class:
McpTool
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 ElementsModifier and TypeOptional ElementDescriptionArgument field whose value selects an entry fromactionTitles().String[]Action-specific titles as"ACTION=Title"entries, e.g.booleanSuppress the tool as a user-visible step (internal plumbing).String[]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
-
title
String titleDefault activity title, e.g. "Looking up folders".- Default:
""
-
actionField
String actionFieldArgument field whose value selects an entry fromactionTitles().- Default:
""
-
actionTitles
String[] actionTitlesAction-specific titles as"ACTION=Title"entries, e.g."DELETE=Deleting template".- Default:
{}
-
nameFields
String[] nameFieldsArgument 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:
{}