Package ai.mindconnect.agent.tool
package ai.mindconnect.agent.tool
-
ClassDescriptionReference from an
AgentDefinitionto a tool the agent is allowed to use.Lets an agent expose a registry tool under its own name.Mutable, builder-styleToolEnvironmentbacked by two maps: one for typed services and one for named string values.SPI for tool sources that contribute multiple tool names from a single registration — complement toToolFactory(which is strictly 1:1 with a name).Enforces agent-pinned tool parameters.ToolRegistrythat discovers tool sources from the classpath viaServiceLoader.Filter chain around every tool invocation.Continuation handle.Everything the runtime knows about one tool call.What the LLM ends up seeing.Per-invocation context passed to aToolFactorywhen resolving a concreteToolfor one agent call.Typed registry of runtime-level dependencies thatToolFactoryinstances may request at bind time.SPI for contributing a single built-in tool to the agent runtime.Late-bound handle to theToolRegistry, breaking the construction cycle for tools that need the registry itself:SpiToolRegistrybuilds its factories from theToolEnvironment, so the registry cannot be a direct environment service.