restart_container
Restart a Docker container by providing its container ID or name.
Instructions
Restart a Docker container.
Args: container_id: Container ID or name to 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": {
"container_id": "<container_id>"
},
"name": "restart_container"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| container_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |