Skip to content
1 min read · 35 words

Type Alias: DispatchToolCallRetrievalFn

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

Retrieves tool calls for an LLM execution context.

Parameters

ParameterType
ctxDispatchContext

Returns

| ToolCall[] | Promise<ToolCall[]>