infra_restart_tool
Restart a Docker Compose service on a remote VPS. Ensures safety by requiring confirmation and checking service against an allowlist. Supports selecting a specific stack when using multi-stack mode.
Instructions
Restart a compose service. Requires confirm=true AND service in INFRA_ALLOWED_SERVICES.
stack picks which compose project (multi-stack mode); omit for default.
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": {
"service": "<service>"
},
"name": "infra_restart_tool"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| stack | No | ||
| confirm | No | ||
| service | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||