Class ToolTestComponent
java.lang.Object
ai.mindconnect.adminui.ui.component.ToolTestComponent
- All Implemented Interfaces:
UiComponent
Body of the "Test tool" modal dialog. Mirrors
LlmConfigTestComponent
in shape:
- read-only Input Schema (so the admin knows what to type),
- textarea for the JSON
argumentspayload, - Send / Close actions,
- result block underneath once a test has run (green for OK, red for failure — same CSS classes as the LLM-config dialog).
-
Constructor Summary
ConstructorsConstructorDescriptionToolTestComponent(ai.mindconnect.agent.domain.AgentDefinition agent, ai.mindconnect.agent.tool.AgentTool tool, ai.mindconnect.agent.tool.ToolRegistry toolRegistry, String previousJson, ToolTestService.Result result) -
Method Summary
-
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
-
id
- Specified by:
idin interfaceUiComponent
-
title
-
render
public ai.mindconnect.ui.model.UiNode render()- Specified by:
renderin interfaceUiComponent
-