---
title: volume_attach
url: "/docs/ai-agents/mcp-tools/volumes/volume_attach/"
canonical_url: https://docs.blossom88.com/docs/ai-agents/mcp-tools/volumes/volume_attach/
markdown_url: https://docs.blossom88.com/docs/ai-agents/mcp-tools/volumes/volume_attach.md
summary: Assign a released Volume to a stopped Service in the same Environment.
categories:
- mcp
- reference
---

# volume_attach

Assign a released Volume to a stopped Service in the same Environment. Does not start the Service. Development preview.

| | |
|---|---|
| Access | Changes Blossom |
| Same as | [`blossom volume:attach`](/docs/reference/cli/volume/attach/) |

## Arguments

| Argument | Type | Description |
|---|---|---|
| `id` | string | Volume id. Required. |
| `service` | string | Stopped Service id. Required. |
| `mount_path` | string | Container directory, default /data. |
| `availability` | string | One of: `shared`, `dedicated`. |

## Example

```json
{"id":"volume-100","service":"service-100"}
```
