agentic_fabric.tools.registry¶
Tool resolution helpers for configured fabric agent tools.
This module turns YAML-declared tool names into instantiated tool objects without forcing every optional dependency to import at module load time.
Module Contents¶
Functions¶
Register a safe tool factory without using dynamic imports. |
|
Resolve a configured tool name to an instantiated tool object. |
|
Resolve configured tool names to instantiated tool objects. |
Data¶
API¶
- agentic_fabric.tools.registry.logger = 'getLogger(...)'¶
- agentic_fabric.tools.registry.ToolFactory = None¶
- agentic_fabric.tools.registry.register_tool_factory(tool_name: str, factory: agentic_fabric.tools.registry.ToolFactory, *, aliases: tuple[str, ...] = ()) None¶
Register a safe tool factory without using dynamic imports.
- agentic_fabric.tools.registry.resolve_tool(tool_name: str) Any | None¶
Resolve a configured tool name to an instantiated tool object.
Supports:
built-in aliases like
FileWriteToolselected filesystem MCP URIs
fully-qualified
module:attributereferencesfully-qualified
package.module.ClassNamereferences
- agentic_fabric.tools.registry.resolve_tools(tool_names: list[str]) list[Any]¶
Resolve configured tool names to instantiated tool objects.
Unknown or unavailable tools are skipped with a warning so that fabric agents can continue to run with the capabilities available in the current environment.