vdi_list
List virtual disks (VDIs), optionally filtered by storage repository, or isolate orphaned disks (attached to no VM) to reclaim space.
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 |