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
Description copied from interface:UiComponentThe 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 rootUiNodereturned byUiComponent.render().- Specified by:
idin interfaceUiComponent
-
title
-
render
public ai.mindconnect.ui.model.UiNode render()Description copied from interface:UiComponentFull render — emit the component as aUiNode. Used both inside a page's full render and as the payload of a REPLACE patch.- Specified by:
renderin interfaceUiComponent
-