---
url: >-
  https://adk.nht.io/api/@nhtio/adk/batteries/llm/anthropic_messages/count_tokens/interfaces/AnthropicMessagesCountTokensDeps.md
description: Optional dependencies for the count-token helpers.
---

# Interface: AnthropicMessagesCountTokensDeps

Defined in: [src/batteries/llm/anthropic\_messages/count\_tokens.ts:97](https://github.com/NHTIO/ADK/blob/v1.20260726.0/src/src/batteries/llm/anthropic_messages/count_tokens.ts#L97)

Optional dependencies for the count-token helpers.

## Properties

| Property                         | Type                                                                                                    | Description                                                | Defined in                                                                                                                                                              |
| -------------------------------- | ------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|  `log?` | [`DispatchExecutorLogChannel`](../../../../../dispatch_runner/interfaces/DispatchExecutorLogChannel.md) | Structured log channel used for warn-and-send diagnostics. | [src/batteries/llm/anthropic\_messages/count\_tokens.ts:99](https://github.com/NHTIO/ADK/blob/v1.20260726.0/src/src/batteries/llm/anthropic_messages/count_tokens.ts#L99) |
