Appearance
type DispatchToolsRetrievalFn = ( ctx: DispatchContext, ) => Tool[] | Promise<Tool[]>;
Retrieves tools for an LLM execution context.
ctx
DispatchContext
| Tool[] | Promise<Tool[]>
Tool
Promise