Package io.jmix.dynmodelai.agent.tool
Class DynamicModelToolCatalog
java.lang.Object
io.jmix.dynmodelai.agent.tool.DynamicModelToolCatalog
Single catalog of names and argument schemas available to the agent engine.
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final String -
Method Summary
Modifier and TypeMethodDescriptionstatic @Nullable StringattributeTypeName(@Nullable Class<?> javaClass, boolean lob) Catalog name of the attribute type the planner would use for an existing attribute, so model facts and tool arguments share one vocabulary.static @Nullable CaptionThe caption or title argument of a plan step, ornullwhen it is absent or malformed.static ModelChangeWhat one plan step changes in the model, as declared by its operation: the client needs no knowledge of tool names to show a Draft or an applied result.static booleanisPlanTool(String toolName) normalizedArguments(String toolName, Map<String, Object> arguments) Parsed values for comparison, retaining explicitly supplied keys, including nulls.static Stringstatic @Nullable StringvalidatePlanArguments(String toolName, Map<String, Object> arguments)
-
Field Details
-
CREATE_ENTITY
- See Also:
-
ADD_ATTRIBUTE
- See Also:
-
REMOVE_ATTRIBUTE
- See Also:
-
UPDATE_ATTRIBUTE_CAPTION
- See Also:
-
ADD_REFERENCE
- See Also:
-
REMOVE_ENTITY
- See Also:
-
GENERATE_VIEWS
- See Also:
-
REORDER_ATTRIBUTES
- See Also:
-
MOVE_ATTRIBUTE
- See Also:
-
MOVE_MENU_ITEM
- See Also:
-
ADD_MENU_ITEM
- See Also:
-
KIND_LIST
-
KIND_DETAIL
-
KIND_BOTH
-
-
Method Details
-
planningPrompt
-
isPlanTool
-
validatePlanArguments
-
caption
The caption or title argument of a plan step, ornullwhen it is absent or malformed. -
normalizedArguments
Parsed values for comparison, retaining explicitly supplied keys, including nulls. -
change
What one plan step changes in the model, as declared by its operation: the client needs no knowledge of tool names to show a Draft or an applied result. -
attributeTypeName
Catalog name of the attribute type the planner would use for an existing attribute, so model facts and tool arguments share one vocabulary.nullwhen the planner cannot create such a type.
-