getToolHandler method

ToolHandler? getToolHandler(
  1. String name
)

Retrieves a registered tool handler by name.

Returns the ToolHandler if a tool with name is registered, or null if not found.

Implementation

ToolHandler? getToolHandler(String name) => _tools[name]?.handler;