restart_nodejs_app
Restart a running Node.js application by updating its Passenger restart trigger to apply changes in cPanel without manual intervention.
Instructions
Restart a running Node.js application instantly by updating its Passenger restart trigger
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": {
"app_root": "<app_root>"
},
"name": "restart_nodejs_app"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app_name | No | Registered application name (optional) | |
| app_root | Yes | Application root directory (e.g. 'nodejs/my-app') |