Annotation Interface McpTool
Marks a method as an MCP tool, read by
McpToolSpecifications.-
Nested Class Summary
Nested Classes -
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.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
-