restart_container
Restart Docker containers to resolve issues or apply configuration changes. Specify container ID and optional timeout for controlled restarts.
Instructions
Restart a container
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": {
"id": "<id>"
},
"name": "restart_container"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Container ID or name | |
| timeout | No | Seconds to wait before killing the container |