Restart or stop the server
restart_serverSchedule, cancel, or trigger a Minecraft server reboot or stop with countdown warnings, world/player saves, and player disconnects; confirm first.
Instructions
restart or stop after a countdown with warnings in chat, saving every world and player first. Docker's restart policy or a start script loop starts it again (then a stop is a restart too), otherwise it stays off. One is pending at a time: scheduling replaces it, cancel calls it off, and get_server_status with include restart shows it. Everyone gets disconnected: confirm with the user first.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "restart_server"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | No | restart | |
| message | No | Said with each warning, such as the reason | |
| countdownSeconds | No | 0 goes at once |