---
url: >-
  https://adk.nht.io/api/@nhtio/adk/types/type-aliases/DispatchToolCallRetrievalFn.md
description: Retrieves tool calls for an LLM execution context.
---

# Type Alias: DispatchToolCallRetrievalFn

```ts
type DispatchToolCallRetrievalFn = (
  ctx: DispatchContext,
) => ToolCall[] | Promise<ToolCall[]>;
```

Defined in: [lib/contracts/dispatch\_context.ts:50](https://github.com/NHTIO/ADK/blob/v1.20260605.0/src/lib/contracts/dispatch_context.ts#L50)

Retrieves tool calls for an LLM execution context.

## Parameters

| Parameter | Type                                                  |
| --------- | ----------------------------------------------------- |
| `ctx`     | [`DispatchContext`](../interfaces/DispatchContext.md) |

## Returns

| [`ToolCall`](../../forge/classes/ToolCall.md)\[]
| `Promise`<[`ToolCall`](../../forge/classes/ToolCall.md)\[]>
