Class DynamicModelToolCatalog

java.lang.Object
io.jmix.dynmodelai.agent.tool.DynamicModelToolCatalog

public final class DynamicModelToolCatalog extends Object
Single catalog of names and argument schemas available to the agent engine.
  • Field Details

  • Method Details

    • planningPrompt

      public static String planningPrompt()
    • isPlanTool

      public static boolean isPlanTool(String toolName)
    • validatePlanArguments

      public static @Nullable String validatePlanArguments(String toolName, Map<String,Object> arguments)
    • caption

      public static @Nullable Caption caption(@Nullable Object value)
      The caption or title argument of a plan step, or null when it is absent or malformed.
    • normalizedArguments

      public static Map<String,Object> normalizedArguments(String toolName, Map<String,Object> arguments)
      Parsed values for comparison, retaining explicitly supplied keys, including nulls.
    • change

      public static ModelChange change(PlanStep step)
      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

      public static @Nullable String attributeTypeName(@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. null when the planner cannot create such a type.