register Method
Register a Tool class. This establishes a connection between the toolId of the class and the class itself.
register(toolClass: , namespace?: string): void
| Parameter | Type | Description |
|---|---|---|
| toolClass | the subclass of Tool to register. | |
| namespace | string | the namespace for the localized strings for this tool. If undefined, use namespace from superclass. |
Returns - void
Defined in
Last Updated: 24 June, 2025
Found something wrong, missing, or unclear on this page? Raise an issue in our repo.