-
Nested Class Summary
Nested Classes
static @interface
Additional properties describing a Tool to clients.
-
Optional Element Summary
Optional Elements
Additional hints for clients.
The description of the tool.
boolean
If true, the tool will generate an output schema for non-primitive output types.
Intended for UI and end-user contexts — optimized to be human-readable and easily
understood, even by those unfamiliar with domain-specific terminology.
-
Element Details
-
name
The name of the tool. If not provided, the method name will be used.
- Default:
- ""
-
description
The description of the tool. If not provided, the method name will be used.
- Default:
- ""
-
annotations
Additional hints for clients.
- Default:
- @org.springaicommunity.mcp.annotation.McpTool.McpAnnotations
-
generateOutputSchema
boolean generateOutputSchema
If true, the tool will generate an output schema for non-primitive output types. If
false, the tool will not automatically generate an output schema.
- Default:
- false
-
title
Intended for UI and end-user contexts — optimized to be human-readable and easily
understood, even by those unfamiliar with domain-specific terminology. If not
provided, the name should be used for display (except for Tool, where
annotations.title should be given precedence over using name, if present).
- Default:
- ""