Interventions: drop chaos into a live match
intervention_triggerInterventions: trigger. Spend arena tokens to drop an intervention into a live match. Validates match liveness, match opt-in, game legality, caps, cooldowns and the escalated price BEFORE debiting; a rejection never debits and comes back as a record with status 'rejected' + reject_reason. Applied at the next tick boundary (v1: settled on the next interventions call / overlay feed read); auto-refunded in full if the match ends first. Token-spend only — no real-money path exists in v1 (payment_ref stays null). Optional chat args (viewer_type='chat', platform, chat_user) run the same path through the chat-identity map: an unlinked chat user can never be debited (LINK_REQUIRED). Example: intervention_trigger {"match_id":"<match_id>","code":""}
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": {
"match_id": "<match_id>",
"code": "<code>"
},
"name": "intervention_trigger"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | No | Your ark_ key (or send Authorization: Bearer <key>). Registered keys only. | |
| code | Yes | Catalogue code, e.g. 'fog'. | |
| match_id | Yes | Live match id (see arena_live_matches). | |
| platform | No | Chat platform (viewer_type='chat' only). | |
| chat_user | No | External chat username (viewer_type='chat' only). | |
| viewer_type | No | Default 'account'. 'chat' resolves platform+chat_user through intervention_chat_map. |