get_token_count
Estimate token count for text inputs to manage LLM context limits. Optionally specify model for accurate token estimation.
Instructions
Estimate token count for text. Helps manage LLM context limits.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | ||
| model | No | default |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |