Package io.jmix.dynmodelai.agent.tool
Class DynamicModelToolSchema
java.lang.Object
io.jmix.dynmodelai.agent.tool.DynamicModelToolSchema
JSON representation of catalog operations, shared by prompt and native structured output.
-
Method Summary
Modifier and TypeMethodDescriptionstatic tools.jackson.databind.node.ObjectNodeclosedObject(tools.jackson.databind.node.ObjectNode properties) An object that requires every listed property and allows no other.omitAbsentArguments(String toolName, Map<String, Object> arguments) Strict schemas encode omitted optional arguments as null; do not erase invalid arguments.static tools.jackson.databind.node.ObjectNodeoperationSchema(boolean includeStepId)
-
Method Details
-
operationSchema
public static tools.jackson.databind.node.ObjectNode operationSchema(boolean includeStepId) -
omitAbsentArguments
Strict schemas encode omitted optional arguments as null; do not erase invalid arguments. -
closedObject
public static tools.jackson.databind.node.ObjectNode closedObject(tools.jackson.databind.node.ObjectNode properties) An object that requires every listed property and allows no other.
-