tteop_build_envelope
Generate a TTEOP v0.1-draft telemetry envelope from token counts, computing Yield, Leverage, Velocity, output_fraction, and log_leverage. Returns JSON without submitting or persisting data.
Instructions
Build a TTEOP v0.1-draft schema-conforming telemetry envelope from token counts. Computes Yield (Υ), Leverage (L), Velocity (V), output_fraction (F), and log_leverage (D). No data is submitted or persisted. Returns the complete envelope as JSON.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tool | No | AI tool name (e.g., 'claude-code', 'cursor', 'copilot'). | |
| input | Yes | Fresh input tokens (non-negative integer, required). | |
| model | No | Model identifier (e.g., 'claude-sonnet-4', 'gpt-4o'). | |
| output | Yes | Output tokens (non-negative integer, required). | |
| provider | No | Provider name (e.g., 'anthropic', 'openai', 'google'). | |
| cohort_id | No | Cohort identifier for private-managed-cohort mode. Requires operator_key. | |
| cache_read | No | Cache-read tokens, or null when unavailable. | |
| cache_write | No | Cache-write tokens, or null when unavailable. | |
| operator_key | No | Pseudonymous operator identifier. Must not contain real-world identity. | |
| privacy_mode | No | Privacy mode. Default: public-pseudonymous. | |
| provenance_level | No | Provenance level. Default: self-reported. |