Change potion effects
set_effectsChange an online player's potion effects by clearing, removing, then adding effects, and get a report of what succeeded, failed, or was skipped.
Instructions
Change a player's potion effects: clear first, then remove, then add, and answer with the effects afterwards. A failed step stops the rest, and the answer says what was done, what failed, and what wasn't. The player must be online.
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": {
"player": "<player>"
},
"name": "set_effects"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| add | No | ||
| clear | No | Every effect | |
| player | Yes | Player name or UUID | |
| remove | No | Effect keys |