migrate_container
Migrate a Proxmox container to another node, with support for online migration, forced migration, and local disk transfer. Specify node, target, and container ID.
Instructions
Migrate a container to another node
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>",
"target": "<target>"
},
"name": "migrate_container"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| node | Yes | Current node where container is located | |
| stop | No | Stop container after migration | |
| vmid | Yes | Container ID | |
| force | No | Force migration (ignore safety checks) | |
| online | No | Online migration (without shutdown) | |
| target | Yes | Target node for migration | |
| stateonly | No | Only migrate container state | |
| with_local_disks | No | Migrate with local disks |