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.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sr | No | ||
| limit | No | ||
| target | No | ||
| orphaned_only | No |