vdi_list
Lists virtual disks (VDIs) on XCP-ng, optionally filtered by SR or orphaned-only, to identify reclaimable storage from disks attached to no VM.
Instructions
[READ] List VDIs (virtual disks), optionally per SR or orphaned-only.
Orphaned = attached to no VM (no VBD) — candidates for reclaiming space.
Returns {"vdis": [...], "returned": N, "limit": L, "truncated": bool};
when truncated is true there are more disks than were returned.
Args:
sr: Optional SR uuid to filter by.
orphaned_only: Only VDIs not attached to any VM.
limit: Max VDIs to return after filtering (default 200).
target: Xen Orchestra target name from config; omit for the default.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "vdi_list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sr | No | ||
| limit | No | ||
| target | No | ||
| orphaned_only | No |