Set entity attribute
set_entity_attributeSet a living entity's base attribute value, such as max health or scale, by UUID to control gameplay stats and behavior.
Instructions
Set the base value of a living entity's attribute, e.g. max_health 40 or scale 2.
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>",
"attribute": "<attribute>",
"base_value": "<base_value>"
},
"name": "set_entity_attribute"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uuid | Yes | Entity UUID, e.g. as returned by summon_entity or get_players. | |
| attribute | Yes | Attribute such as 'max_health', 'movement_speed', 'attack_damage' or 'scale'. | |
| base_value | Yes | New base value. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||