Skip to content
1 min read · 38 words

Type Alias: DispatchToolCallRetrievalFn

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

Defined in: lib/contracts/dispatch_context.ts:50

Retrieves tool calls for an LLM execution context.

Parameters

ParameterType
ctxDispatchContext

Returns

| ToolCall[] | Promise<ToolCall[]>