接口的使用
com.github.codeboyzhou.mcp.declarative.server.converter.ParameterConverter
使用ParameterConverter的程序包
-
com.github.codeboyzhou.mcp.declarative.server.converter中ParameterConverter的使用
修饰符和类型类说明classAbstractParameterConverter<A extends Annotation>This abstract class is used to convert the value of a parameter annotated withAbstractParameterConverterto the required type, and provides a default implementation for theAbstractParameterConverter.convertAll(Parameter[], Map)method.classThis class is used to convert the value of a parameter annotated withMcpPromptParamto the required type.classThis class is used to convert the value of a parameter annotated withMcpToolParamto the required type.