Attach volume
volume_attachAttach a Longhorn volume to a specified node, making it available for workloads on that host.
Instructions
Attach a volume to a node. Longhorn docs: https://longhorn.io/docs/1.12.1/nodes-and-volumes/volumes/create-volumes/
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"name": "<name>",
"hostId": "<hostId>"
},
"name": "volume_attach"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| hostId | Yes | Node name to attach to. | |
| attachedBy | No | ||
| attacherType | No | ||
| attachmentID | No | ||
| disableFrontend | No |