container_pause
Suspend all processes in a running container to stop CPU usage while preserving memory and open files. Resume later with unpause.
Instructions
Suspend all processes in a container using the kernel freezer cgroup.
Unlike sending SIGSTOP, the freezer cgroup suspends processes without their being able
to observe or intercept the suspension. A paused container keeps its resources (memory,
open file descriptors) but consumes no CPU. Resume with container_unpause -
container_exec fails against a paused container until it is unpaused.
Returns: dict: The container's full inspect payload after pause (State.Paused true)
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_pause"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id_or_name | Yes |