container_restart
Restart a container in one call: stop it, wait up to stop_timeout_seconds, then start it again. Returns the full container inspect payload for verification.
Instructions
Restart a container: stop then start again in one call.
The container receives its configured stop signal (STOPSIGNAL, default SIGTERM), SIGKILL
after stop_timeout_seconds, and is then started. Use container_stop/container_start to do
the halves separately. When the server runs containerized it refuses to restart its own
container.
Args: stop_timeout_seconds: Seconds between the stop signal and SIGKILL
Returns: dict: The container's full inspect payload after the restart
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_or_name": "<id_or_name>"
},
"name": "container_restart"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id_or_name | Yes | ||
| stop_timeout_seconds | No |