Class ToolParameter
java.lang.Object
net.thevpc.naru.tool.ToolParameter
Builder for a single parameter inside a JSON schema "properties" block.
ToolParameter.string("path", "Absolute or relative file path", true)
ToolParameter.integer("timeout_seconds", "Max wait time", false)
-
Method Summary
Modifier and TypeMethodDescriptionstatic ToolParametergetName()static ToolParameterbooleanstatic ToolParameter
-
Method Details
-
string
-
integer
-
bool
-
getName
-
getSchema
-
isRequired
public boolean isRequired()
-