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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"quote_id": "<quote_id>",
"quote_hash": "<quote_hash>",
"idempotency_key": "<idempotency_key>"
},
"name": "mcg_run"
}
}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. |