Package su.onno.mcp
Annotation Interface McpToolParam
Customizes an input parameter of an
McpTool method.-
Optional Element Summary
Optional Elements
-
Element Details
-
name
String nameInput property name. Defaults to the Java parameter name.- Default:
""
-
description
String descriptionDescription shown in the generated input schema.- Default:
""
-
required
boolean requiredWhether MCP clients must supply the input.- Default:
true
-
schema
String schemaOptional complete JSON Schema for this input, overriding type inference.- Default:
""
-