list_srs
Lists Storage Repositories (SRs) managed by Xen Orchestra / XCP-ng, returning name, type, capacity, used/free space, and sharing mode, with optional name, type, and shared-only filters.
Instructions
List all Storage Repositories (SRs) managed by Xen Orchestra / XCP-ng. Returns SR name, type, total size, used space, free space, and sharing mode.
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": "list_srs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name_filter | No | Filter SRs by name (case-insensitive substring match) | |
| shared_only | No | Only return shared SRs (accessible from multiple hosts) | |
| type_filter | No | Filter by SR type (e.g., 'ext', 'lvm', 'nfs', 'smb', 'iso', 'udev') |