spawn_supply_drop
Spawn specified items as a wooden supply crate, ground drop, or inventory transfer to deliver supplies to Project Zomboid players; optionally set coordinates and add a smoke flare.
Instructions
Spawn items in the world!
`items` example: [{"type": "Base.PetrolCan", "count": 2}, {"type": "Base.FirstAidKit_Military", "count": 1}]
- placement='crate': builds a wooden supply crate near the player (or at x,y) with optional smoke flare!
- placement='ground': drops items directly on the ground.
- placement='inventory': puts items directly into the player's inventory.
Note: If (x, y) is >70 tiles from all players, use `schedule_zone_trigger` instead so the chunk is loaded first.
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": {
"items": "<items>"
},
"name": "spawn_supply_drop"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | ||
| y | No | ||
| z | No | ||
| items | Yes | ||
| offset_x | No | ||
| offset_y | No | ||
| placement | No | crate | |
| crate_name | No | Военный груз снабжения | |
| target_player | No | ||
| add_smoke_flare | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||