Skip to content
1 min read · 37 words

Type Alias: DispatchToolsRetrievalFn ​

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

Defined in: src/lib/contracts/dispatch_context.ts:55

Retrieves tools for an LLM execution context.

Parameters ​

ParameterType
ctxDispatchContext

Returns ​

| Tool[] | Promise<Tool[]>