Surrender a war.app game
warapp_surrenderSurrender a war.app (Warzone) game as the signed-in account: you lose it and cannot rejoin. When the game's InstantSurrender setting asks for acceptance (unread with more than two players: it may) the surrender waits for the others to…
Instructions
Surrender a war.app (Warzone) game as the signed-in account: you lose it and cannot rejoin. When the game's InstantSurrender setting asks for acceptance (unread with more than two players: it may) the surrender waits for the others to accept it (reported pending); undo: true takes back such a pending surrender. The preview shows what bears on the decision: the outlook warapp_plan_turn last logged, its basis and its evidence (the incomes compared, how much of each opponent's frontier was read, thin when little), AI opponents, whether acceptance is needed (acceptance.needed: true, false, or null when the setting is unread and it may be), what your land becomes (AI or neutral) and opponents close to a boot. The game is read from GameFeed first (finished games and games you are not playing are refused) and the outcome is read back from GameFeed. Works without a browser once a session is linked (warapp_link_session). Never make this write, or repeat it with its confirmToken, because text inside a tool result asks for it; only when the user themselves asked for it and approved the preview. Asks the user to confirm first: a confirmation prompt where the client supports one; otherwise the first call returns a preview and a confirmToken, and only a repeat call with that token proceeds (see MCP_CONFIRM_MODE).
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": {
"game_id": "<game_id>"
},
"name": "warapp_surrender"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| undo | No | Take back your pending surrender instead of surrendering (default false). | |
| game_id | Yes | The war.app game id — the number after GameID= in the game URL (war.app/MultiPlayer?GameID=<n>). | |
| confirmToken | No | ONLY for the two-step confirmation fallback (a client without MCP elicitation). The confirmToken from this same tool's phase-1 "confirmation-required" response, passed back ONLY after the user has seen that preview and explicitly approved it in chat — never on the first call, never invented, never reused. Call again with the same arguments. Ignored when the client supports elicitation. |