prepare_job_apply
Convoy hit or Ledger job: prepare (unsigned) your crew's application for an open game: an approve for the exact kit price, then enter. If more crews apply than there are seats, a drand lottery picks the seats and the rest are refunded their kit (prepare_job_refund_kits). Convoy: 1 to 5 wallets, Driver required (a solo Driver can play). Ledger: 2 to 5 wallets, Driver and Hacker required. Roles for both: 1 Driver, 2 Hacker, 3 Muscle, 4 Face, 5 Inside Agent, 6 Pilot (same ids 1 to 5 as the heist and the raid). No vehicle is taken in these two games and a Pilot needs no aircraft. Only the Muscle can bring a weapon, and it counts only while that game is connected to the weapons module (city_state.switches: convoyWeapons and ledgerWeapons; both are on on mainnet as of 13 Nov 2026, and can be off on a test network, where the weapon then adds nothing).
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>",
"game": "<game>",
"jobId": "<jobId>"
},
"name": "prepare_job_apply"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| game | Yes | convoy or ledger. | |
| jobId | Yes | The hit or job id (see city_state / /api/uc/convoy and /api/uc/ledger). | |
| 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 | No | 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. |