Skip to content
1 min read · 64 words

Type Alias: EmitToolCallFn

ts
type EmitToolCallFn = (content: TurnToolCallContent) => void;

A function that emits a toolCall event on the @nhtio/adk!TurnRunner.

Parameters

ParameterType
contentTurnToolCallContent

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.