---
url: 'https://adk.nht.io/api/@nhtio/adk/turn_runner/type-aliases/EmitToolCallFn.md'
description: 'A function that emits a `toolCall` event on the {@link @nhtio/adk!TurnRunner}.'
---

# Type Alias: EmitToolCallFn

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

Defined in: [lib/types/turn\_runner.ts:228](https://github.com/NHTIO/ADK/blob/v1.20260605.0/src/lib/types/turn_runner.ts#L228)

A function that emits a `toolCall` event on the [@nhtio/adk!TurnRunner](../classes/TurnRunner.md).

## Parameters

| Parameter | Type                                                          |
| --------- | ------------------------------------------------------------- |
| `content` | [`TurnToolCallContent`](../interfaces/TurnToolCallContent.md) |

## Returns

`void`

## Remarks

Injected into [@nhtio/adk!TurnContext](../../types/interfaces/TurnContext.md) so middleware can surface tool call lifecycle events —
both the initial request and the settled result — without holding a reference to the runner.
