Change experience
update_experienceAdd or set an online player's Minecraft experience in points or levels; when setting points, adjust progress within the current level rather than total points.
Instructions
Add or set an online player's experience. Note: mode='set' with unit='points' sets the progress bar within the current level (amount / points needed for the next level), not the total points.
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>",
"amount": "<amount>"
},
"name": "update_experience"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | Add to or replace the current value. | add |
| unit | No | Whether amount is in points or levels. | points |
| amount | Yes | Amount to add or set. | |
| username | Yes | Exact, case-sensitive name of an online player. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||