Class ToolCatalogTestComponent

java.lang.Object
ai.mindconnect.adminui.ui.component.ToolCatalogTestComponent
All Implemented Interfaces:
UiComponent

public final class ToolCatalogTestComponent extends Object implements UiComponent
Body of the "Test tool" modal for the top-level tool catalog — the same shape as ToolTestComponent, but identified by tool name (no owning agent). Dispatches to /admin/api/tools/{name}/test.
  • Constructor Details

    • ToolCatalogTestComponent

      public ToolCatalogTestComponent(String toolName, ai.mindconnect.common.Namespace namespace, ai.mindconnect.agent.tool.ToolRegistry toolRegistry, String previousJson, ToolTestService.Result result)
  • Method Details

    • id

      public String id()
      Description copied from interface: UiComponent
      The DOM id this component renders with. Patch operations targeting this component (REPLACE / CLEAR / REMOVE) use this id, so it must match the id on the root UiNode returned by UiComponent.render().
      Specified by:
      id in interface UiComponent
    • title

      public String title()
    • render

      public ai.mindconnect.ui.model.UiNode render()
      Description copied from interface: UiComponent
      Full render — emit the component as a UiNode. Used both inside a page's full render and as the payload of a REPLACE patch.
      Specified by:
      render in interface UiComponent