Annotation Interface McpArg
@Target({METHOD,ANNOTATION_TYPE,PARAMETER})
@Retention(RUNTIME)
@Documented
public @interface McpArg
Marks a method parameter as a MCP Argument.
- Author:
- Christian Tzolov
-
Optional Element Summary
Optional Elements
-
Element Details
-
name
String nameArgument name.- Default:
- ""
-
description
String descriptionArgument description.- Default:
- ""
-
title
String titleOptional human-readable title of the argument, for display.- Since:
- 2.1.0
- Default:
- ""
-
required
boolean requiredTrue if this argument is required. false if this argument is optional.- Default:
- false
-