PackageAgentTools class

Namespaced agent-tool bridge for Zuraffa-native packages (spec 025, FR-008/FR-009).

A package's PackageModule exposes its agent tools with plain, un-namespaced usecase names. The consuming app merges them into its agent tool registry via registerInto, which applies the "$packageName.$toolName" namespace — so my_pkg's do_something usecase surfaces as my_pkg.do_something, tools from different packages never collide (FR-009), and tools are strictly import-scoped: absent until the app registers the module's tools (FR-005 semantics).

final registry = McpToolRegistry();
PackageAgentTools.registerInto(registry, MyPkgPackageModule());
// registry now exposes `my_pkg.do_something`, …

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Static Methods

namespaced(String packageName, String toolName) → String
The canonical namespaced tool id for toolName contributed by packageName.
registerInto(McpToolRegistry registry, PackageModule module, ZuraffaDIContainer di) → void
Registers every tool of module into registry under the module's package namespace, building the tools against di (the consuming app's container, populated by the module's registrar).