Appearance
type DispatchToolCallRetrievalFn = ( ctx: DispatchContext, ) => ToolCall[] | Promise<ToolCall[]>;
Retrieves tool calls for an LLM execution context.
ctx
DispatchContext
| ToolCall[] | Promise<ToolCall[]>
ToolCall
Promise