Class PerspectivePropertyTools

java.lang.Object
com.inductiveautomation.perspective.designer.ai.PerspectivePropertyTools

public class PerspectivePropertyTools extends Object
Read-only tools that expose context about the view, selection, and component graph in the Perspective designer to an LLM for agentic code completion. All paths are component index paths (e.g. "0:1:2") matching ComponentSelection.getPaths() and ViewStructure; an empty string means "use the current selection anchor."
  • Constructor Details

    • PerspectivePropertyTools

      public PerspectivePropertyTools(DesignAdapter adapter)
  • Method Details

    • getCurrentSelection

      public String getCurrentSelection()
    • getViewInfo

      public String getViewInfo()
    • getViewTree

      public String getViewTree()
    • getComponentDetails

      public String getComponentDetails(String indexPath)
    • getPropertySchema

      public String getPropertySchema(String indexPath)
    • getPropertyConfig

      public String getPropertyConfig(String scope, String propertyPath, String indexPath)
    • listBindings

      public String listBindings(String indexPath, boolean recursive)
    • listScripts

      public String listScripts(String indexPath)
    • listEventHandlers

      public String listEventHandlers(String indexPath)
    • getSymbolicPath

      public String getSymbolicPath(String indexPath)
    • getViewConfig

      public String getViewConfig(String viewPath)