Uses of Interface
io.openliberty.mcp.tools.ToolManager.ToolDefinition
Packages that use ToolManager.ToolDefinition
-
Uses of ToolManager.ToolDefinition in io.openliberty.mcp.tools
Methods in io.openliberty.mcp.tools that return ToolManager.ToolDefinitionModifier and TypeMethodDescriptiondefault ToolManager.ToolDefinitionToolManager.ToolDefinition.addArgument(String name, String description, boolean required, Type type) Adds an argument to the tool.ToolManager.ToolDefinition.addArgument(String name, String description, boolean required, Type type, String defaultValue) Adds an argument to the tool.ToolManager.ToolDefinition.generateOutputSchema(Class<?> from) Sets the class to use to generate the output schema for structured content.Adds a tool.ToolManager.ToolDefinition.setAnnotations(ToolManager.ToolAnnotations annotations) Sets the annotations of the toolToolManager.ToolDefinition.setInputSchema(Object schema) Sets the input schema for this tool.ToolManager.ToolDefinition.setOutputSchema(Object schema) Sets the output schema for structured content.Sets the human-readable title of the tool