Apply status effect
apply_effectGives an online Minecraft player a chosen status effect, such as speed or regeneration, with optional duration, amplifier, and particle settings.
Instructions
Give an online player a status effect such as speed, night_vision or regeneration.
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": {
"username": "<username>",
"effect": "<effect>"
},
"name": "apply_effect"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| effect | Yes | Status effect id such as 'speed', 'night_vision' or 'minecraft:regeneration'. | |
| username | Yes | Exact, case-sensitive name of an online player. | |
| amplifier | No | 0 = level I, 1 = level II, ... | |
| hide_particles | No | Hide the effect's particles. | |
| duration_seconds | No | Duration in seconds. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||