List volume attachments
list_volume_attachmentsLists Cinder volume attachment records to show which servers a volume is attached to. Filter by volume, instance, or project and page results with limit and marker.
Instructions
List Cinder attachment records (API microversion 3.27 or later).
Connection details are not returned. Paged with limit and marker.
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_volume_attachments"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum items to return (1-100, default 50). | |
| marker | No | next_marker from the previous page; omit for the first page. | |
| volume_id | No | Volume ID whose attachments to list. | |
| project_id | No | Project ID to work in; omit for the default project. Allowed values are listed by get_scope. | |
| instance_id | No | Server ID the volume is attached to. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | ||
| limit | Yes | Maximum number of items requested. | |
| complete | Yes | True when no more items exist beyond this page. | |
| resource | Yes | Resource type of the items. | |
| project_id | Yes | Project whose session produced the list. | |
| next_marker | No | Pass as marker to read the next page; null when complete or when the API has no marker paging. | |
| observed_at | Yes | UTC time the list was read. |