---
url: >-
  https://adk.nht.io/api/@nhtio/adk/types/type-aliases/DispatchThoughtDeleteFn.md
description: Removes a thought by ID (LLM execution context variant).
---

# Type Alias: DispatchThoughtDeleteFn

```ts
type DispatchThoughtDeleteFn = (
  ctx: DispatchContext,
  id: string,
) => void | Promise<void>;
```

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

Removes a thought by ID (LLM execution context variant).

## Parameters

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

## Returns

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