Propose or vote on a team surrender in a war.app game
warapp_team_surrenderPropose, accept, decline, or withdraw a team surrender vote in a war.app game so every teammate still playing quits and loses together, with a preview and confirmation before any write.
Instructions
Propose that your whole team surrenders in a war.app (Warzone) team game, accept (vote yes) or decline (vote no) a teammate's proposal, or withdraw your own, as the signed-in account (the client's TeamSurrender). If every teammate still playing accepts, everyone on the team surrenders: the team loses and none of you can rejoin; one no ends the proposal. To surrender only your own seat use warapp_surrender. The plan reads the vote from the game details and refuses what the client would not offer: no team of two or more still playing, a proposal already open (propose), none open or a vote already cast (accept, decline), or one you did not make (withdraw); finished games and games you are not playing are refused too. The preview shows the vote (proposer, yes, no, still to vote; by GameFeed and in-game id) and what the action does. The outcome is read back from the details and GameFeed (proposed, accepted, declined, withdrawn, surrendered; unconfirmed, unknown). The encoding is read from the client bundle, UNVERIFIED live. 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>",
"action": "<action>"
},
"name": "warapp_team_surrender"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | propose (ask the team to surrender together), accept (vote yes), decline (vote no) or withdraw (take back your proposal). | |
| 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. |