shutdown_container
Shut down a container gracefully with configurable timeout to force stop after the timeout expires.
Instructions
Gracefully shut down a container.
Args: node: The node name. vmid: The container ID. timeout: Timeout in seconds before force stop. force_stop: Force stop after timeout.
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": {
"node": "<node>",
"vmid": "<vmid>"
},
"name": "shutdown_container"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| node | Yes | ||
| vmid | Yes | ||
| timeout | No | ||
| force_stop | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |