Set difficulty
set_difficultyChange the main world's difficulty to peaceful, easy, normal, or hard; choose peaceful to remove hostile mobs.
Instructions
Change the difficulty of the main world. 'peaceful' removes hostile mobs.
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": {
"level": "<level>"
},
"name": "set_difficulty"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| level | Yes | New difficulty. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||