BoostToolRegistry class

Tool Registry - Manual registration approach

BLOCKER 2 RESOLUTION: Manual tool registration map instead of dynamic discovery. This provides:

  • Type-safe compile-time checking
  • Explicit tool visibility
  • No reflection/magic required
  • Simple and reliable

Constructors

BoostToolRegistry()

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

allTools() → List<McpTool>
Get all tools
getTool(String name) → McpTool?
Get tool by name
getToolsMetadata() → List<Map<String, dynamic>>
Get tool metadata for MCP tools/list
isToolAllowed(String toolName) → bool
Check if tool is allowed
registerAll(McpToolRegistry registry) → void
Register all tools with the given registry