Restart container
restart_containerRestart a Docker container by name or ID to resolve issues, with an optional timeout to force-kill if needed.
Instructions
Restart a container. This is the go-to fix for 'turn it off and on again' style requests.
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 |
|---|---|---|---|
| timeout | No | Seconds to wait before force-killing (default: 10). | |
| container | Yes | Container name or id. |