budget_estimate
Predict if an operation will hit 402 or 429 errors before you spend. Use amount for KVP, storage, or RAG queries, or textLength/byteLength for RAG indexing.
Instructions
Estimate whether an operation would hit 402/429 before spending. For rag_index you can pass textLength/byteLength instead of amount.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | ||
| amount | No | ||
| byteLength | No | ||
| textLength | No |