docker_restart
Restart a Docker container by name or ID on a configured host. Use it to recover stopped or unhealthy containers while opsgate applies policy checks and audit logging.
Instructions
Restart a Docker 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": {
"container": "<container>"
},
"name": "docker_restart"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | No | target host name from the opsgate config; omit for the default host | |
| container | Yes | container name or ID |