Package com.embabel.agent.api.tool
Interface Tool.InputSchema
-
- All Implemented Interfaces:
public interface Tool.InputSchemaInput schema for a tool, supporting both simple and complex parameters.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classTool.InputSchema.Companion
-
Method Summary
Modifier and Type Method Description abstract StringtoJsonSchema()JSON Schema representation for LLM consumption Tool.InputSchemawithParameter(Tool.Parameter parameter)abstract List<Tool.Parameter>getParameters()Parameter definitions -
-
Method Detail
-
toJsonSchema
abstract String toJsonSchema()
JSON Schema representation for LLM consumption
-
withParameter
Tool.InputSchema withParameter(Tool.Parameter parameter)
-
getParameters
abstract List<Tool.Parameter> getParameters()
Parameter definitions
-
-
-
-