---
url: 'https://adk.nht.io/api/@nhtio/adk/types/type-aliases/ToolCallStoreFn.md'
description: Stores a new tool call in the persistence layer.
---

# Type Alias: ToolCallStoreFn

```ts
type ToolCallStoreFn = (ctx: TurnContext, v: ToolCall) => void | Promise<void>;
```

Defined in: [lib/contracts/turn\_runner\_context.ts:211](https://github.com/NHTIO/ADK/blob/v1.20260605.0/src/lib/contracts/turn_runner_context.ts#L211)

Stores a new tool call in the persistence layer.

## Parameters

| Parameter | Type                                          |
| --------- | --------------------------------------------- |
| `ctx`     | [`TurnContext`](../interfaces/TurnContext.md) |
| `v`       | [`ToolCall`](../../forge/classes/ToolCall.md) |

## Returns

`void` | `Promise`<`void`>
