update_pool
Update a resource pool by adding or removing virtual machines and storage IDs. Use the delete flag to remove members from the pool.
Instructions
Update a resource pool (add/remove members).
Args: poolid: Pool ID. comment: Description. vms: Comma-separated VMIDs to add/remove. storage: Comma-separated storage IDs to add/remove. delete: If true, remove the specified vms/storage from the pool instead of adding.
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": {
"poolid": "<poolid>"
},
"name": "update_pool"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vms | No | ||
| delete | No | ||
| poolid | Yes | ||
| comment | No | ||
| storage | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |