docker_restart
Restarts a Docker container by name, bringing it down and back up; check logs first if the cause is unknown, since success confirms the command, not that the app is serving.
Instructions
Restart a Docker container by name. It goes down and comes back, and the result says the restart command succeeded, not that the app inside is serving again. Read the logs first if you do not know why it needs restarting
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": {
"name": "<name>"
},
"name": "docker_restart"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Container name to restart | |
| server | No | Remote server name from config (optional, runs locally if omitted) |