Annotation Interface McpTool
Marks a method as an MCP tool, read by
McpToolSpecifications.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic @interfaceMCP behaviour hints.static @interfaceHow a UI should present this tool's execution as a user-facing activity step ("Creating template \"X\"" instead ofmanage_template). -
Required Element Summary
Required ElementsModifier and TypeRequired ElementDescriptionWhat the tool does and when to use it — the model's main tool-selection signal. -
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionBehavioural hints surfaced intools/list.Tool name advertised to clients; falls back to the method name when blank.UI presentation hints, emitted asTool._meta["ai.digital/presentation"].Human-readable display title (MCPTool.title); clients prefer it over the name.
-
Element Details
-
name
String nameTool name advertised to clients; falls back to the method name when blank.- Default:
""
-
title
String titleHuman-readable display title (MCPTool.title); clients prefer it over the name.- Default:
""
-
description
String descriptionWhat the tool does and when to use it — the model's main tool-selection signal. -
annotations
McpTool.McpAnnotations annotationsBehavioural hints surfaced intools/list.- Default:
@com.xebialabs.xlrelease.mcp.annotation.McpTool.McpAnnotations
-
presentation
McpTool.McpPresentation presentationUI presentation hints, emitted asTool._meta["ai.digital/presentation"].- Default:
@com.xebialabs.xlrelease.mcp.annotation.McpTool.McpPresentation
-