---
url: >-
  https://adk.nht.io/api/@nhtio/adk/turn_runner/type-aliases/EmitToolExecutionEndFn.md
description: >-
  A function that emits a `toolExecutionEnd` event on the {@link
  @nhtio/adk!TurnRunner} observability bus.
---

# Type Alias: EmitToolExecutionEndFn

```ts
type EmitToolExecutionEndFn = (event: ToolExecutionEndEvent) => void;
```

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

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

## Parameters

| Parameter | Type                                                              |
| --------- | ----------------------------------------------------------------- |
| `event`   | [`ToolExecutionEndEvent`](../interfaces/ToolExecutionEndEvent.md) |

## Returns

`void`

## Remarks

Injected into both [@nhtio/adk!TurnContext](../../types/interfaces/TurnContext.md) and `DispatchContext` so `Tool.executor()` can emit
lifecycle events without holding a reference to the runner or its emitter. Tool execution
happens inside an LLM dispatch loop; `DispatchContext` is the canonical context the tool
handler receives.
