Type Alias: EmitToolCallFn
ts
type EmitToolCallFn = (content: TurnToolCallContent) => void;A function that emits a toolCall event on the @nhtio/adk!TurnRunner.
Parameters
| Parameter | Type |
|---|---|
content | TurnToolCallContent |
Returns
void
Remarks
Injected into @nhtio/adk!TurnContext so middleware can surface tool call lifecycle events — both the initial request and the settled result — without holding a reference to the runner.