Start or Stop Website
operate_websiteStart or stop an existing website on a selected 1Panel node to control its lifecycle and availability.
Instructions
Start or stop an existing website (operate: "start" | "stop") on the selected node.
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": {
"website_id": "<website_id>",
"operate": "<operate>"
},
"name": "operate_website"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nodeId | No | Target node ID: "local" for the Main Node, or a numeric string ID (e.g. "3") from list_nodes. | local |
| operate | Yes | Website lifecycle action: "start" or "stop". | |
| website_id | Yes | Numeric website ID. |