aiToolRegistry
Syntax
aiToolRegistry()Parameters
Returns
Examples
Register a Tool
aiToolRegistry().register(
name : "getWeather",
description: "Get current weather for a location",
callback : ( location ) => weatherService.fetch( location )
)Register with Module Attribution
Scan a Class for @AITool Annotations
@AITool AnnotationsScan a Package Path
Resolve Tools for an Agent
Check and Retrieve Tools
Unregister Tools
Registry API Reference
Method
Description
Related Pages
Last updated