preflight_context
Count tokens, apply an optional model-aware budget, and redact likely credentials locally. Inputs over 12,000 characters require the paid HTTP API.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Text or code to preflight. | |
| model | No | Optional model name. | |
| redact | No | Redact likely credentials. | |
| token_budget | No | Optional hard token budget. |