Skip to content
1 min read · 34 words

Type Alias: DispatchToolsRetrievalFn

ts
type DispatchToolsRetrievalFn = (
  ctx: DispatchContext,
) => Tool[] | Promise<Tool[]>;

Retrieves tools for an LLM execution context.

Parameters

ParameterType
ctxDispatchContext

Returns

| Tool[] | Promise<Tool[]>