Class ToolFormComponent

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

public final class ToolFormComponent extends Object implements 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

    Constructors
    Constructor
    Description
    ToolFormComponent(ai.mindconnect.agent.domain.AgentDefinition agent, ai.mindconnect.agent.tool.AgentTool tool, ai.mindconnect.agent.tool.ToolRegistry toolRegistry)
    Pass null for the new-tool form.
  • Method Summary

    Modifier and Type
    Method
    Description
    id()
     
    ai.mindconnect.ui.model.UiNode
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ToolFormComponent

      public ToolFormComponent(ai.mindconnect.agent.domain.AgentDefinition agent, ai.mindconnect.agent.tool.AgentTool tool, ai.mindconnect.agent.tool.ToolRegistry toolRegistry)
      Pass null for the new-tool form.
  • Method Details