Package ai.mindconnect.agent.tool
Interface ToolRegistry
- All Known Implementing Classes:
SpiToolRegistry
public interface ToolRegistry
-
Method Summary
Modifier and TypeMethodDescriptionNames of all tools known to this registry.overridesSchema(String toolName) The config-overrides schema a tool declares (ToolFactory.overridesSchema()), so admin UIs can show which override keys a tool supports.Every resolvable tool name, grouped by its rubric (ToolFactory.group()/MultiToolProvider.group()) — for catalogs and pickers that present tools by category (agent functions, web tools, document tools, …).
-
Method Details
-
resolve
-
resolveAll
-
knownToolNames
Names of all tools known to this registry. Used by admin UIs to render a selection dropdown when configuring an agent's tool list. Order is deterministic (typically registration order). Default: empty for registries that don't enumerate. -
toolNamesByGroup
Every resolvable tool name, grouped by its rubric (ToolFactory.group()/MultiToolProvider.group()) — for catalogs and pickers that present tools by category (agent functions, web tools, document tools, …). Groups and names are sorted; likeknownToolNames()the view reflects the registry's current state. Default: everything under "General". -
overridesSchema
The config-overrides schema a tool declares (ToolFactory.overridesSchema()), so admin UIs can show which override keys a tool supports. Empty for tools that declare none (e.g. MCP tools, whose knobs are all parameters).
-