Annotation Interface的使用
com.github.codeboyzhou.mcp.declarative.annotation.McpToolParam
使用McpToolParam的程序包
-
com.github.codeboyzhou.mcp.declarative.server.converter中McpToolParam的使用
修饰符和类型方法说明McpToolParameterConverter.getAnnotationType()Returns the type of the annotation this converter handles.修饰符和类型方法说明McpToolParameterConverter.convert(Parameter parameter, McpToolParam annotation, Map<String, Object> args) Converts the value of the parameter annotated withMcpToolParamto the required type.