docker_restart
Restarts a Docker container on a local or remote host to recover stopped or misbehaving services. Requires approval before execution.
Instructions
Restart a Docker container. WRITE action — your MCP client will ask for approval before running it.
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": {
"container": "<container>"
},
"name": "docker_restart"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | No | Server name from HOMELAB_HOSTS (e.g. 'sil-baru'). Omit to run on the local machine. | |
| container | Yes | Container name (from docker_ps) |