Text stats and token estimate
text_statsCount characters, words, lines, bytes and estimate LLM tokens for a text, so an agent can budget context before sending it. ($0.005 USDC per call via x402 at https://coinlight-app.vercel.app/p/text-stats)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Text to measure (max 200k chars). | |
| payment | No | Optional x402 PAYMENT-SIGNATURE header value. Omit to use a free trial call or get payment requirements. |