Restart a container
restart_containerRestart an existing Docker container by name or ID after user confirmation to recover stopped or unhealthy services.
Instructions
Restart an existing container. Confirm with the person first.
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": "restart_container"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| container | Yes | The container's name or id, as its list gives it |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| state | Yes | ||
| container | Yes |