prepare_raid_launch
Homes: prepare (unsigned) a raid on someone else's apartment with a squad of 2 to 4 (you first). The kit goes to the pool and is lost if the raid fails; the result is a drand round about 30 s later (then prepare_raid_resolve). Optional roles: 1 Driver, 2 Hacker, 3 Muscle, 4 Face, 5 Inside Agent (0 none). There are 5 role ids but only 4 seats, so a squad never carries all five. Role bonuses apply only if the admin switch is on (city_state.switches.apartmentRaidRoleBonuses; the pipeline turns it on for the next testnet round, mainnet stays closed). Each squad member's approval expires after 1 day: renew your yes daily (prepare_approve_leader) or the raid is refused. No weapons and no items in an apartment raid. Not the same game as the Season 1 crew raid or the older 3-to-5 squad raid.
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": {
"wallet": "<wallet>",
"apartmentId": "<apartmentId>",
"members": "<members>"
},
"name": "prepare_raid_launch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| roles | No | One role number per member, same order. Role ids differ per game (see this tool's description). | |
| wallet | Yes | Your own 0x wallet address. Nothing is sent from it; it is used to read your balance and allowance and to simulate. | |
| members | Yes | Crew wallets, YOU first (each other member must have called prepare_approve_leader for you). Omit to go alone where the game allows. The size limit is per game: night_run 1-4, convoy 1-5, ledger 2-5, vehicle_heist 2-5, raid 2-4. | |
| apartmentId | Yes | The apartment to raid (must be raidable). |