Package io.quarkiverse.mcp.server
Interface InputSchemaGenerator<R>
- All Known Subinterfaces:
GlobalInputSchemaGenerator
- All Known Implementing Classes:
DefaultSchemaGenerator
public interface InputSchemaGenerator<R>
Generates the input schema for a
ToolManager.ToolInfo.
Implementation classes must be CDI beans. Qualifiers are ignored.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptiongenerate(ToolManager.ToolInfo tool) TheInputSchema#value()is serialized with thejackson-databindlibrary.
-
Method Details
-
generate
TheInputSchema#value()is serialized with thejackson-databindlibrary.- Parameters:
tool-- Returns:
- the input schema (must not be
null)
-