Are you an LLM? You can read better optimized documentation at /api/@nhtio/adk/batteries/llm/anthropic_messages/types/interfaces/AnthropicMessagesCountTokensInput.md for this page in Markdown format
Interface: AnthropicMessagesCountTokensInput
Defined in: src/batteries/llm/anthropic_messages/types.ts:502
Constructor-compatible shape for future count-token helpers.
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
context? | DispatchContext | Optional dispatch context whose prompt should be assembled before counting. | src/batteries/llm/anthropic_messages/types.ts:504 |
messages? | MessageParam[] | Optional pre-built Anthropic input messages to count. | src/batteries/llm/anthropic_messages/types.ts:506 |
system? | string | TextBlockParam[] | Optional pre-built Anthropic system prompt to count. | src/batteries/llm/anthropic_messages/types.ts:508 |
tools? | Tool[] | Optional pre-built Anthropic tools to count. | src/batteries/llm/anthropic_messages/types.ts:510 |