Class ToolFormComponent
java.lang.Object
ai.mindconnect.adminui.ui.component.ToolFormComponent
- All Implemented Interfaces:
UiComponent
Edit form for an agent's tool. Selectable
builtinName
dropdown is populated from the ToolRegistry so both built-in
tools (ServiceLoader-discovered) and MCP-backed tools (registered by
other modules) appear. A (custom name) option lets the user
type an arbitrary name in the name field below — useful for tools
that aren't yet on the classpath.
For an existing tool the resolved input schema is rendered as a readable parameters table below the form (pinned params are already stripped there, so it shows exactly what the LLM will be offered); for new tools it stays hidden because there's nothing to show yet.
-
Constructor Summary
ConstructorsConstructorDescriptionToolFormComponent(ai.mindconnect.agent.domain.AgentDefinition agent, ai.mindconnect.agent.tool.AgentTool tool, ai.mindconnect.agent.tool.ToolRegistry toolRegistry) Passnullfor the new-tool form. -
Method Summary
-
Constructor Details
-
ToolFormComponent
public ToolFormComponent(ai.mindconnect.agent.domain.AgentDefinition agent, ai.mindconnect.agent.tool.AgentTool tool, ai.mindconnect.agent.tool.ToolRegistry toolRegistry) Passnullfor the new-tool form.
-
-
Method Details
-
id
- Specified by:
idin interfaceUiComponent
-
render
public ai.mindconnect.ui.model.UiNode render()- Specified by:
renderin interfaceUiComponent
-