set_player_health
Set a specific player's health or apply to all active players in a Broforce game. Specify health value and optional player index (default 0) for gameplay manipulation.
Instructions
Set a player's health
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": {
"health": "<health>"
},
"name": "set_player_health"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| health | Yes | Health value | |
| playerNum | No | Player index 0-3, or -1 for all active players (default: 0) |