Damage entity
damage_entityDeals health-point damage to a living Minecraft entity by UUID; enough damage kills it, and an optional source UUID assigns aggro and kill credit.
Instructions
Hurt a living entity. Enough damage kills it.
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": {
"uuid": "<uuid>",
"amount": "<amount>"
},
"name": "damage_entity"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uuid | Yes | Entity UUID, e.g. as returned by summon_entity or get_players. | |
| amount | Yes | Damage in health points (2 = one heart). | |
| source_uuid | No | Entity to blame for the damage (affects aggro and kill credit). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||