Start, stop, or restart the server
set_powerStart, stop, or restart a hosted Minecraft server; stop and restart perform a normal shutdown that saves the world. The action runs in the background, so check server status or console afterward.
Instructions
Starts, stops, or restarts the server. stop and restart run the normal shutdown, which saves the world. The action runs in the background: check get_server_status or read_console afterwards.
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": {
"action": "<action>"
},
"name": "set_power"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | ||
| server | No | Server identifier or UUID. Omit to use the configured server (PEBBLEHOST_SERVER_ID); other servers are refused unless PEBBLEHOST_ALLOW_ALL_SERVERS is set. |