mcg_run
Launch the quoted simulation. SPENDS TOKENS: provisions hardware and bills the account. Requires the quote_id and quote_hash from mcg_quote (a stale hash or an expired quote REJECTS: re-quote and retry) and a client-generated idempotency_key (replaying it returns the existing run instead of launching twice). Optional max_tokens is a hard ceiling: a quote above it REJECTS the launch, never clamps. Returns run_id.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| quote_id | Yes | The quote_id returned by mcg_quote. | |
| max_tokens | No | Hard token ceiling: the launch is REJECTED if the quote exceeds it. | |
| quote_hash | Yes | The quote_hash mcg_quote returned: proves the launch prices the exact quote the client saw. | |
| idempotency_key | Yes | Client-generated key; retrying a launch with the same key must not double-charge. |