Skip to content
1 min read · 43 words

Type Alias: ToolCallStoreFn ​

ts
type ToolCallStoreFn = (ctx: TurnContext, v: ToolCall) => void | Promise<void>;

Defined in: src/lib/contracts/turn_runner_context.ts:213

Stores a new tool call in the persistence layer.

Parameters ​

ParameterType
ctxTurnContext
vToolCall

Returns ​

void | Promise<void>