Type Alias: ToolsRetrievalFn
ts
type ToolsRetrievalFn = (ctx: TurnContext) => Tool[] | Promise<Tool[]>;A function that retrieves the tools available for the current turn.
Parameters
| Parameter | Type |
|---|---|
ctx | TurnContext |
Returns
Remarks
Receives the active TurnContext so implementations can apply turn-aware filtering (e.g. RBAC scopes, feature flags). May be synchronous or asynchronous.