Class ToolTestComponent

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

public final class ToolTestComponent extends Object implements UiComponent
Body of the "Test tool" modal dialog. Mirrors LlmConfigTestComponent in shape:
  1. read-only Input Schema (so the admin knows what to type),
  2. textarea for the JSON arguments payload,
  3. Send / Close actions,
  4. result block underneath once a test has run (green for OK, red for failure — same CSS classes as the LLM-config dialog).
  • Constructor Details

    • ToolTestComponent

      public ToolTestComponent(ai.mindconnect.agent.domain.AgentDefinition agent, ai.mindconnect.agent.tool.AgentTool tool, ai.mindconnect.agent.tool.ToolRegistry toolRegistry, String previousJson, ToolTestService.Result result)
  • Method Details