Package org.mcpjava.server.completion
Annotation Interface CompleteArg
Customizes the name of a completed argument in a completion method.
A completion method must consume exactly one String argument representing
the partial value that needs to be completed.
- See Also:
-
Field Details
-
ELEMENT_NAME
Constant value forname()indicating that the annotated element's name should be used as-is.- See Also:
-
-
Element Details
-
name
String nameThe name of the completed argument.By default, the parameter name from the method signature will be used (requires compilation with the
-parametersflag).- Returns:
- the argument name
- Default:
"<<element name>>"
-