ubuntu_nginx_control
Control Nginx web server on Ubuntu systems via SSH connections. Start, stop, restart, check status, reload configurations, or verify configuration files remotely.
Instructions
Control Nginx web server on Ubuntu
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": {
"connectionId": "<connectionId>",
"action": "<action>"
},
"name": "ubuntu_nginx_control"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| connectionId | Yes | ID of an active SSH connection | |
| action | Yes | Action to perform (start, stop, restart, status, reload, check-config) | |
| sudo | No | Whether to run the command with sudo (default: true) |