ToolParameter
@Serializable
A single declared input to an McpTool. The list of these on a tool is compiled into the inputSchema advertised by MCP tools/list, so name and type are part of the wire contract.
Properties
Link copied to clipboard
Human/LLM-readable explanation of the argument.
Link copied to clipboard
Argument key the caller supplies and McpTool.execute reads from its params map.
Link copied to clipboard
Whether the argument must be present. Surfaced in the enclosing schema's required array by the protocol layer (not by toJsonSchema, which describes one property).
Link copied to clipboard
JSON Schema type of the value.