Package io.openliberty.mcp.annotations
Annotation Interface Tool.OutputSchema
- Enclosing class:
- Tool
-
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionClass<?>The class from which the schema is generated.Class<? extends OutputSchemaGenerator>The generator class.
-
Element Details
-
from
Class<?> fromThe class from which the schema is generated.If
Tool.structuredContent()is set totruethen the return type may be used for schema generation.- Default:
- io.openliberty.mcp.annotations.Tool.OutputSchema.class
-
generator
Class<? extends OutputSchemaGenerator> generatorThe generator class. Implementation classes must be CDI beans. Qualifiers are ignored.By default, the built-in generator is used.
- Default:
- io.openliberty.mcp.annotations.OutputSchemaGenerator.class
-