restart_service
Restarts a service or application on a Google Cloud VPS after configuration changes, applying updates without recreating the instance.
Instructions
Restart a service or application on the VPS. Useful after configuration changes.
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": {
"projectId": "<projectId>",
"instanceName": "<instanceName>",
"serviceName": "<serviceName>"
},
"name": "restart_service"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| command | No | Custom restart command | |
| projectId | Yes | Google Cloud project ID | |
| serviceName | Yes | Service or process name to restart | |
| instanceName | Yes | VPS instance name |