longhorn-mcp

v0.1.8
io.github.rafaelgaspar/longhorn-mcp Checked 11 hours ago Published 1 month ago

MCP server for the Longhorn distributed storage manager API, with a --read-only mode.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

volume_list List volumes

List all Longhorn volumes. Longhorn docs: https://longhorn.io/docs/1.13.0/nodes-and-volumes/volumes/create-volumes/

volume_get Get volume

Get a single Longhorn volume by name. Longhorn docs: https://longhorn.io/docs/1.13.0/nodes-and-volumes/volumes/create-volumes/

ParameterTypeDescription
name *string

volume_create Create volume

Create a new Longhorn volume. Longhorn docs: https://longhorn.io/docs/1.13.0/nodes-and-volumes/volumes/create-volumes/

ParameterTypeDescription
name *string
numberOfReplicas *integer
size *stringBytes, or a size string like "10Gi".
accessModestring"rwo" or "rwx".
backingImagestring
dataLocalitystring
diskSelectorarray
extraobjectAdditional Longhorn fields not covered by the named parameters above, merged verbatim into the request body.
fromBackupstringBackup URL to restore from.
frontendstringe.g. "blockdev" or "iscsi".
nodeSelectorarray
staleReplicaTimeoutinteger

volume_delete Delete volume

Delete a Longhorn volume. Destructive. Do not call this unless the user has explicitly authorized it in this conversation — never proactively, speculatively, or as a side effect of another task. Longhorn docs: https://longhorn.io/docs/1.13.0/nodes-and-volumes/volumes/create-volumes/

ParameterTypeDescription
name *string

volume_attach Attach volume

Attach a volume to a node. Longhorn docs: https://longhorn.io/docs/1.13.0/nodes-and-volumes/volumes/create-volumes/

ParameterTypeDescription
hostId *stringNode name to attach to.
name *string
attachedBystring
attacherTypestring
attachmentIDstring
disableFrontendboolean

volume_detach Detach volume

Detach a volume. `forceDetach: true` risks data corruption if the volume is mid-write. Destructive. Do not call this unless the user has explicitly authorized it in this conversation — never proactively, speculatively, or as a side effect of another task. Longhorn docs: https://longhorn.io/docs/1.13.0/nodes-and-volumes/volumes/create-volumes/

ParameterTypeDescription
name *string
attachmentIDstring
forceDetachboolean
hostIdstring

volume_activate Activate volume

Activate a standby (DR) volume. Longhorn docs: https://longhorn.io/docs/1.13.0/snapshots-and-backups/setup-disaster-recovery-volumes/

ParameterTypeDescription
name *string
frontendstring

volume_expand Expand volume

Expand a volume to a new size. Longhorn docs: https://longhorn.io/docs/1.13.0/nodes-and-volumes/volumes/create-volumes/

ParameterTypeDescription
name *string
size *string

volume_cancel_expansion Cancel volume expansion

Cancel an in-progress volume expansion. Longhorn docs: https://longhorn.io/docs/1.13.0/nodes-and-volumes/volumes/create-volumes/

ParameterTypeDescription
name *string

volume_engine_upgrade Upgrade volume engine image

Upgrade the engine image used by a volume. `image` is not validated against a known-good list — a bad image can make the volume inoperable. Destructive. Do not call this unless the user has explicitly authorized it in this conversation — never proactively, speculatively, or as a side effect of another task. Longhorn docs: https://longhorn.io/docs/1.13.0/deploy/upgrade/

ParameterTypeDescription
image *string
name *string

volume_salvage Salvage volume

Salvage a volume from a list of (potentially stale) replica names. Destructive. Do not call this unless the user has explicitly authorized it in this conversation — never proactively, speculatively, or as a side effect of another task. Longhorn docs: https://longhorn.io/docs/1.13.0/nodes-and-volumes/volumes/create-volumes/

ParameterTypeDescription
name *string
replicaNames *array

volume_replica_remove Remove volume replica

Remove a specific replica from a volume. Destructive. Do not call this unless the user has explicitly authorized it in this conversation — never proactively, speculatively, or as a side effect of another task. Longhorn docs: https://longhorn.io/docs/1.13.0/nodes-and-volumes/volumes/create-volumes/

ParameterTypeDescription
name *string
replicaName *string

volume_trim_filesystem Trim volume filesystem

Trim the filesystem on a volume. Longhorn docs: https://longhorn.io/docs/1.13.0/nodes-and-volumes/volumes/create-volumes/

ParameterTypeDescription
name *string

volume_job_list List volume jobs

List a volume's background async jobs via its "jobList" action. Longhorn does not publish a dedicated input or output schema for this action in /v1/schemas, and it has no corresponding docs page — use longhorn_describe_resource_type('volume') to check the deployed version's exact shape, or pass fields via extra.

ParameterTypeDescription
name *string
extraobjectAdditional Longhorn fields not covered by the named parameters above, merged verbatim into the request body.

volume_update_setting Update a volume setting

Update one of Longhorn's per-volume settings. Valid "setting" values: replicaCount, replicaAutoBalance, rebuildConcurrentSyncLimit, dataLocality, accessMode, snapshotDataIntegrity, snapshotMaxCount, snapshotMaxSize, replicaRebuildingBandwidthLimit, ublkQueueDepth, ublkNumberOfQueue, backupCompressionMethod, unmapMarkSnapChainRemoved, replicaSoftAntiAffinity, replicaZoneSoftAntiAffinity, replicaDiskSoftAntiAffinity, freezeFilesystemForSnapshot, backupTargetName, offlineReplicaRebuilding. Longhorn docs: https://longhorn.io/docs/1.13.0/nodes-and-volumes/volumes/create-volumes/

ParameterTypeDescription
name *string
setting *string
value *string | number | boolean

volume_snapshot_create Create volume snapshot

Create a snapshot of a volume. Longhorn docs: https://longhorn.io/docs/1.13.0/snapshots-and-backups/setup-a-snapshot/

ParameterTypeDescription
name *string
backupModestring
labelsobject
snapshotNamestring

volume_snapshot_list List volume snapshots

List snapshots for a volume via the volume-scoped action (requires write access — use snapshot_list for read-only introspection). Longhorn docs: https://longhorn.io/docs/1.13.0/snapshots-and-backups/setup-a-snapshot/

ParameterTypeDescription
name *string

volume_snapshot_get Get volume snapshot

Get one snapshot of a volume via the volume-scoped action (requires write access — use snapshot_get for read-only introspection). Longhorn docs: https://longhorn.io/docs/1.13.0/snapshots-and-backups/setup-a-snapshot/

ParameterTypeDescription
name *string
snapshotName *string

volume_snapshot_delete Delete volume snapshot

Delete a snapshot of a volume. Destructive. Do not call this unless the user has explicitly authorized it in this conversation — never proactively, speculatively, or as a side effect of another task. Longhorn docs: https://longhorn.io/docs/1.13.0/snapshots-and-backups/setup-a-snapshot/

ParameterTypeDescription
name *string
snapshotName *string

volume_snapshot_revert Revert volume to snapshot

Revert a volume to a snapshot, discarding all changes made since. Destructive. Do not call this unless the user has explicitly authorized it in this conversation — never proactively, speculatively, or as a side effect of another task. Longhorn docs: https://longhorn.io/docs/1.13.0/snapshots-and-backups/setup-a-snapshot/

ParameterTypeDescription
name *string
snapshotName *string

volume_snapshot_purge Purge volume snapshots

Purge removed snapshots of a volume. Destructive. Do not call this unless the user has explicitly authorized it in this conversation — never proactively, speculatively, or as a side effect of another task. Longhorn docs: https://longhorn.io/docs/1.13.0/snapshots-and-backups/setup-a-snapshot/

ParameterTypeDescription
name *string

volume_snapshot_backup Back up a volume snapshot

Create a backup from a volume snapshot. Longhorn docs: https://longhorn.io/docs/1.13.0/snapshots-and-backups/backup-and-restore/

ParameterTypeDescription
name *string
backupModestring
labelsobject
snapshotNamestring

volume_snapshot_cr_create Create VolumeSnapshot CR

Create a snapshot via the newer VolumeSnapshot CRD-backed action (equivalent to volume_snapshot_create). Longhorn docs: https://longhorn.io/docs/1.13.0/snapshots-and-backups/setup-a-snapshot/

ParameterTypeDescription
name *string
labelsobject
snapshotNamestring

volume_snapshot_cr_list List VolumeSnapshot CRs

List CRD-backed snapshots for a volume. Longhorn docs: https://longhorn.io/docs/1.13.0/snapshots-and-backups/setup-a-snapshot/

ParameterTypeDescription
name *string

volume_snapshot_cr_get Get VolumeSnapshot CR

Get one CRD-backed snapshot for a volume. Longhorn docs: https://longhorn.io/docs/1.13.0/snapshots-and-backups/setup-a-snapshot/

ParameterTypeDescription
name *string
snapshotName *string

volume_snapshot_cr_delete Delete VolumeSnapshot CR

Delete a CRD-backed snapshot for a volume. Destructive. Do not call this unless the user has explicitly authorized it in this conversation — never proactively, speculatively, or as a side effect of another task. Longhorn docs: https://longhorn.io/docs/1.13.0/snapshots-and-backups/setup-a-snapshot/

ParameterTypeDescription
name *string
snapshotName *string

volume_recurring_job_add Add recurring job to volume

Attach a recurring job (or job group) to a volume. Longhorn docs: https://longhorn.io/docs/1.13.0/snapshots-and-backups/scheduling-backups-and-snapshots/

ParameterTypeDescription
jobName *string
name *string
isGroupboolean

volume_recurring_job_delete Remove recurring job from volume

Detach a recurring job (or job group) from a volume — this can remove the volume's only backup/snapshot schedule. Destructive. Do not call this unless the user has explicitly authorized it in this conversation — never proactively, speculatively, or as a side effect of another task. Longhorn docs: https://longhorn.io/docs/1.13.0/snapshots-and-backups/scheduling-backups-and-snapshots/

ParameterTypeDescription
jobName *string
name *string
isGroupboolean

volume_recurring_job_list List volume recurring jobs

List recurring jobs attached to a volume. Longhorn docs: https://longhorn.io/docs/1.13.0/snapshots-and-backups/scheduling-backups-and-snapshots/

ParameterTypeDescription
name *string

volume_pv_create Create PersistentVolume for volume

Create a Kubernetes PersistentVolume backed by this Longhorn volume. Longhorn docs: https://longhorn.io/docs/1.13.0/nodes-and-volumes/volumes/create-volumes/

ParameterTypeDescription
name *string
fsTypestring
pvNamestring
secretNamestring
secretNamespacestring
storageClassNamestring

volume_pvc_create Create PersistentVolumeClaim for volume

Create a Kubernetes PersistentVolumeClaim bound to this Longhorn volume's PV. Longhorn docs: https://longhorn.io/docs/1.13.0/nodes-and-volumes/volumes/create-volumes/

ParameterTypeDescription
name *string
namespacestring
pvcNamestring

snapshot_list List snapshots

List all snapshots across all volumes (plain read-only GET — available in --read-only mode). Longhorn docs: https://longhorn.io/docs/1.13.0/snapshots-and-backups/setup-a-snapshot/

snapshot_get Get snapshot

Get a single snapshot by id (plain read-only GET — available in --read-only mode). Longhorn docs: https://longhorn.io/docs/1.13.0/snapshots-and-backups/setup-a-snapshot/

ParameterTypeDescription
id *string

snapshotgroup_list List snapshot groups

List Longhorn snapshot groups (coordinated multi-volume snapshots introduced in Longhorn 1.13.0). Longhorn docs: https://longhorn.io/docs/1.13.0/snapshots-and-backups/csi-snapshot-support/csi-volume-group-snapshot/

snapshotgroup_get Get snapshot group

Get a single snapshot group by name. Longhorn docs: https://longhorn.io/docs/1.13.0/snapshots-and-backups/csi-snapshot-support/csi-volume-group-snapshot/

ParameterTypeDescription
name *string

snapshotgroup_create Create snapshot group

Create a snapshot group that snapshots multiple volumes together. Set exactly one of `volumes` (explicit volume names) or `volumeSelector` (label query) — not both, not neither. Longhorn docs: https://longhorn.io/docs/1.13.0/snapshots-and-backups/csi-snapshot-support/csi-volume-group-snapshot/

ParameterTypeDescription
name *string
deadlineSecondsinteger
labelsobject
volumeSelectorobject
volumesarray

snapshotgroup_delete Delete snapshot group

Delete a Longhorn snapshot group. Destructive. Do not call this unless the user has explicitly authorized it in this conversation — never proactively, speculatively, or as a side effect of another task. Longhorn docs: https://longhorn.io/docs/1.13.0/snapshots-and-backups/csi-snapshot-support/csi-volume-group-snapshot/

ParameterTypeDescription
name *string

snapshotgroup_preview Preview snapshot group members

Dry-run which volumes would be included in a snapshot group for the given `volumes` or `volumeSelector` (collection `preview` action — POST, so unavailable in --read-only mode). Set exactly one of those fields. Longhorn docs: https://longhorn.io/docs/1.13.0/snapshots-and-backups/csi-snapshot-support/csi-volume-group-snapshot/

ParameterTypeDescription
volumeSelectorobject
volumesarray

backup_list List backups

List all backups across all backup volumes (plain read-only GET — available in --read-only mode). Longhorn docs: https://longhorn.io/docs/1.13.0/snapshots-and-backups/backup-and-restore/

backup_get Get backup

Get a single backup by id (plain read-only GET — available in --read-only mode). Longhorn docs: https://longhorn.io/docs/1.13.0/snapshots-and-backups/backup-and-restore/

ParameterTypeDescription
id *string

backupvolume_list List backup volumes

List Longhorn backup volumes (backup-target-side volume records). Longhorn docs: https://longhorn.io/docs/1.13.0/snapshots-and-backups/backup-and-restore/

backupvolume_get Get backup volume

Get a single backup volume by name. Longhorn docs: https://longhorn.io/docs/1.13.0/snapshots-and-backups/backup-and-restore/

ParameterTypeDescription
name *string

backupvolume_update Update backup volume

Update a backup volume record. Fields you omit are left unchanged (read-merge-write under the hood — the API itself does a full replace on PUT). Longhorn docs: https://longhorn.io/docs/1.13.0/snapshots-and-backups/backup-and-restore/

ParameterTypeDescription
name *string
extraobjectAdditional Longhorn fields, merged verbatim into the request body.

backupvolume_delete Delete backup volume

Delete a backup volume record from the backup target. Destructive. Do not call this unless the user has explicitly authorized it in this conversation — never proactively, speculatively, or as a side effect of another task. Longhorn docs: https://longhorn.io/docs/1.13.0/snapshots-and-backups/backup-and-restore/

ParameterTypeDescription
name *string

backupvolume_backup_delete Delete backup

Delete a specific backup belonging to a backup volume. Destructive. Do not call this unless the user has explicitly authorized it in this conversation — never proactively, speculatively, or as a side effect of another task. Longhorn docs: https://longhorn.io/docs/1.13.0/snapshots-and-backups/backup-and-restore/

ParameterTypeDescription
backupName *string
name *string

backupvolume_backup_get Get backup (via backup volume)

Get a specific backup belonging to a backup volume via the volume-scoped action (requires write access — use backup_get for read-only introspection). Longhorn docs: https://longhorn.io/docs/1.13.0/snapshots-and-backups/backup-and-restore/

ParameterTypeDescription
backupName *string
name *string

backupvolume_backup_list List backups (via backup volume)

List backups belonging to a backup volume via the volume-scoped action (requires write access — use backup_list for read-only introspection). Longhorn docs: https://longhorn.io/docs/1.13.0/snapshots-and-backups/backup-and-restore/

ParameterTypeDescription
name *string

backupvolume_backup_list_by_volume List backups by volume

List backups for a backup volume, scoped by the source volume. Longhorn docs: https://longhorn.io/docs/1.13.0/snapshots-and-backups/backup-and-restore/

ParameterTypeDescription
name *string

backupvolume_sync Sync backup volume

Force a resync of a backup volume against the backup target. Longhorn docs: https://longhorn.io/docs/1.13.0/snapshots-and-backups/backup-and-restore/

ParameterTypeDescription
name *string

backuptarget_list List backup targets

List configured backup targets. Longhorn docs: https://longhorn.io/docs/1.13.0/snapshots-and-backups/backup-and-restore/

backuptarget_get Get backup target

Get a single backup target by name. Longhorn docs: https://longhorn.io/docs/1.13.0/snapshots-and-backups/backup-and-restore/

ParameterTypeDescription
name *string

backuptarget_create Create backup target

Create a new backup target. Longhorn docs: https://longhorn.io/docs/1.13.0/snapshots-and-backups/backup-and-restore/

ParameterTypeDescription
name *string
extraobjectAdditional Longhorn fields, merged verbatim into the request body.

backuptarget_update Update backup target

Update a backup target (e.g. backupTargetURL, credentialSecret, pollInterval). Fields you omit are left unchanged (read-merge-write under the hood — the API itself does a full replace on PUT). Repointing backupTargetURL changes where future backups go and can break restore access to existing ones. Destructive. Do not call this unless the user has explicitly authorized it in this conversation — never proactively, speculatively, or as a side effect of another task. Longhorn docs: https://longhorn.io/docs/1.13.0/snapshots-and-backups/backup-and-restore/

ParameterTypeDescription
name *string
backupTargetURLstring
credentialSecretstring
extraobjectAdditional Longhorn fields, merged verbatim into the request body.
pollIntervalstring

backuptarget_delete Delete backup target

Delete a backup target. Destructive. Do not call this unless the user has explicitly authorized it in this conversation — never proactively, speculatively, or as a side effect of another task. Longhorn docs: https://longhorn.io/docs/1.13.0/snapshots-and-backups/backup-and-restore/

ParameterTypeDescription
name *string

backuptarget_sync Sync backup target

Force Longhorn to resync backup target/backup volume state. Longhorn docs: https://longhorn.io/docs/1.13.0/snapshots-and-backups/backup-and-restore/

ParameterTypeDescription
name *string
syncAllBackupTargetsboolean
syncAllBackupVolumesboolean
syncBackupTargetboolean
syncBackupVolumeboolean

backuptarget_update_name Update backup target name reference

Update the backupTargetName reference on a backup target record. Destructive. Do not call this unless the user has explicitly authorized it in this conversation — never proactively, speculatively, or as a side effect of another task. Longhorn docs: https://longhorn.io/docs/1.13.0/snapshots-and-backups/backup-and-restore/

ParameterTypeDescription
backupTargetName *string
name *string

backingimage_list List backing images

List Longhorn backing images. Longhorn docs: https://longhorn.io/docs/1.13.0/advanced-resources/backing-image/

backingimage_get Get backing image

Get a single backing image by name. Longhorn docs: https://longhorn.io/docs/1.13.0/advanced-resources/backing-image/

ParameterTypeDescription
name *string

backingimage_create Create backing image

Create a new backing image. With sourceType "download", Longhorn fetches `parameters.url` server-side from its own network position — only use with a URL the user has explicitly provided and trusts. Destructive. Do not call this unless the user has explicitly authorized it in this conversation — never proactively, speculatively, or as a side effect of another task. Longhorn docs: https://longhorn.io/docs/1.13.0/advanced-resources/backing-image/

ParameterTypeDescription
name *string
parameters *objectSource-type-specific parameters (e.g. { url } for "download").
sourceType *stringe.g. "download", "upload", "export-from-volume", "restore", "clone".
extraobjectAdditional Longhorn fields, merged verbatim into the request body.

backingimage_delete Delete backing image

Delete a backing image. Destructive. Do not call this unless the user has explicitly authorized it in this conversation — never proactively, speculatively, or as a side effect of another task. Longhorn docs: https://longhorn.io/docs/1.13.0/advanced-resources/backing-image/

ParameterTypeDescription
name *string

backingimage_cleanup Clean up backing image copies

Clean up backing image file copies on the given disks. Destructive. Do not call this unless the user has explicitly authorized it in this conversation — never proactively, speculatively, or as a side effect of another task. Longhorn docs: https://longhorn.io/docs/1.13.0/advanced-resources/backing-image/

ParameterTypeDescription
disks *array
name *string

backingimage_update_min_copies Update backing image min copies

Update the minimum number of ready copies required for a backing image. Longhorn docs: https://longhorn.io/docs/1.13.0/advanced-resources/backing-image/

ParameterTypeDescription
minNumberOfCopies *integer
name *string

backingimage_upload Upload backing image

Trigger backing image upload. Longhorn does not publish a dedicated input schema for this action in /v1/schemas — use longhorn_describe_resource_type('backingImage') to check the deployed version's exact body shape, or pass fields via extra. Longhorn docs: https://longhorn.io/docs/1.13.0/advanced-resources/backing-image/

ParameterTypeDescription
name *string
extraobjectAdditional Longhorn fields, merged verbatim into the request body.

backingimage_backup_create Back up a backing image

Create a backup of a backing image. Longhorn does not publish a dedicated input schema for this action in /v1/schemas — use longhorn_describe_resource_type('backingImage') to check the deployed version's exact body shape, or pass fields via extra. Longhorn docs: https://longhorn.io/docs/1.13.0/advanced-resources/backing-image/

ParameterTypeDescription
name *string
extraobjectAdditional Longhorn fields, merged verbatim into the request body.

backupbackingimage_list List backup backing images

List backed-up backing images on the backup target. Longhorn docs: https://longhorn.io/docs/1.13.0/advanced-resources/backing-image/

backupbackingimage_get Get backup backing image

Get a single backup backing image by name. Longhorn docs: https://longhorn.io/docs/1.13.0/advanced-resources/backing-image/

ParameterTypeDescription
name *string

backupbackingimage_delete Delete backup backing image

Delete a backup backing image from the backup target. Destructive. Do not call this unless the user has explicitly authorized it in this conversation — never proactively, speculatively, or as a side effect of another task. Longhorn docs: https://longhorn.io/docs/1.13.0/advanced-resources/backing-image/

ParameterTypeDescription
name *string

backupbackingimage_restore Restore backup backing image

Restore a backing image from the backup target. Longhorn docs: https://longhorn.io/docs/1.13.0/advanced-resources/backing-image/

ParameterTypeDescription
name *string
dataEnginestring
secretstring
secretNamespacestring

node_list List nodes

List Longhorn node records (scheduling state, disks, conditions). Longhorn docs: https://longhorn.io/docs/1.13.0/nodes-and-volumes/nodes/

node_get Get node

Get a single Longhorn node record by name. Longhorn docs: https://longhorn.io/docs/1.13.0/nodes-and-volumes/nodes/

ParameterTypeDescription
name *string

node_update Update node

Update a Longhorn node record (e.g. allowScheduling, evictionRequested, tags). Fields you omit are left unchanged (read-merge-write under the hood — the API itself does a full replace on PUT). `evictionRequested: true` drains all replicas/backing images off the node. Destructive. Do not call this unless the user has explicitly authorized it in this conversation — never proactively, speculatively, or as a side effect of another task. Longhorn docs: https://longhorn.io/docs/1.13.0/nodes-and-volumes/nodes/

ParameterTypeDescription
name *string
allowSchedulingboolean
evictionRequestedboolean
tagsarray

node_disk_update Update node disks

Update the disk configuration for a node. `disks` is the raw array of Longhorn Disk objects (path, allowScheduling, storageReserved, tags, diskType, ...) — inspect the node via node_get first to see the current shape. Disabling scheduling or shrinking storageReserved on a disk can strand replicas. Destructive. Do not call this unless the user has explicitly authorized it in this conversation — never proactively, speculatively, or as a side effect of another task. Longhorn docs: https://longhorn.io/docs/1.13.0/nodes-and-volumes/nodes/

ParameterTypeDescription
disks *array
name *string

setting_list List settings

List all Longhorn global settings. Longhorn docs: https://longhorn.io/docs/1.13.0/references/settings/

setting_get Get setting

Get a single Longhorn setting by name. Longhorn docs: https://longhorn.io/docs/1.13.0/references/settings/

ParameterTypeDescription
name *string

setting_update Update setting

Update a Longhorn global setting value. Some settings (Longhorn's own "Danger Zone" category) affect every volume in the cluster. Destructive. Do not call this unless the user has explicitly authorized it in this conversation — never proactively, speculatively, or as a side effect of another task. Longhorn docs: https://longhorn.io/docs/1.13.0/references/settings/

ParameterTypeDescription
name *string
value *string

engineimage_list List engine images

List Longhorn engine images. Longhorn docs: https://longhorn.io/docs/1.13.0/deploy/upgrade/

engineimage_get Get engine image

Get a single engine image by name. Longhorn docs: https://longhorn.io/docs/1.13.0/deploy/upgrade/

ParameterTypeDescription
name *string

engineimage_create Deploy engine image

Deploy a new Longhorn engine image. `image` is not validated against a known-good list. Destructive. Do not call this unless the user has explicitly authorized it in this conversation — never proactively, speculatively, or as a side effect of another task. Longhorn docs: https://longhorn.io/docs/1.13.0/deploy/upgrade/

ParameterTypeDescription
image *string

engineimage_delete Delete engine image

Delete a Longhorn engine image. Destructive. Do not call this unless the user has explicitly authorized it in this conversation — never proactively, speculatively, or as a side effect of another task. Longhorn docs: https://longhorn.io/docs/1.13.0/deploy/upgrade/

ParameterTypeDescription
name *string

instancemanager_list List instance managers

List Longhorn instance manager pods/records.

instancemanager_get Get instance manager

Get a single instance manager by name.

ParameterTypeDescription
name *string

recurringjob_list List recurring jobs

List Longhorn recurring jobs. Longhorn docs: https://longhorn.io/docs/1.13.0/snapshots-and-backups/scheduling-backups-and-snapshots/

recurringjob_get Get recurring job

Get a single recurring job by name. Longhorn docs: https://longhorn.io/docs/1.13.0/snapshots-and-backups/scheduling-backups-and-snapshots/

ParameterTypeDescription
name *string

recurringjob_create Create recurring job

Create a new Longhorn recurring job. Longhorn docs: https://longhorn.io/docs/1.13.0/snapshots-and-backups/scheduling-backups-and-snapshots/

ParameterTypeDescription
concurrency *integer
cron *stringCron schedule expression.
name *string
retain *integerRetention count when retentionPolicy is count-based (the default).
task *stringe.g. "snapshot", "backup", "snapshot-cleanup", "snapshot-delete", "filesystem-trim", "system-backup".
groupsarray
labelsobject
parametersobject
retainAgestringGo duration such as "720h" — required when retentionPolicy is age-based (Longhorn 1.13.0+).
retentionPolicystringcount-based (default) retains the newest N items; age-based uses retainAge instead.

recurringjob_update Update recurring job

Update an existing Longhorn recurring job. Fields you omit are left unchanged (read-merge-write under the hood — the API itself does a full replace on PUT). Lowering `retain` can prune existing snapshots/backups beyond the new limit. Destructive. Do not call this unless the user has explicitly authorized it in this conversation — never proactively, speculatively, or as a side effect of another task. Longhorn docs: https://longhorn.io/docs/1.13.0/snapshots-and-backups/scheduling-backups-and-snapshots/

ParameterTypeDescription
name *string
concurrencyinteger
cronstring
groupsarray
labelsobject
parametersobject
retaininteger
retainAgestring
retentionPolicystring
taskstring

recurringjob_delete Delete recurring job

Delete a Longhorn recurring job. Destructive. Do not call this unless the user has explicitly authorized it in this conversation — never proactively, speculatively, or as a side effect of another task. Longhorn docs: https://longhorn.io/docs/1.13.0/snapshots-and-backups/scheduling-backups-and-snapshots/

ParameterTypeDescription
name *string

orphan_list List orphans

List orphaned replica/engine instance directories Longhorn has detected. Longhorn docs: https://longhorn.io/docs/1.13.0/advanced-resources/data-cleanup/orphaned-data-cleanup/

orphan_get Get orphan

Get a single orphan record by id. Longhorn docs: https://longhorn.io/docs/1.13.0/advanced-resources/data-cleanup/orphaned-data-cleanup/

ParameterTypeDescription
id *string

supportbundle_list List support bundles

List generated Longhorn support bundles. Longhorn docs: https://longhorn.io/docs/1.13.0/troubleshoot/support-bundle/

supportbundle_get Get support bundle

Get a single support bundle by id. Longhorn docs: https://longhorn.io/docs/1.13.0/troubleshoot/support-bundle/

ParameterTypeDescription
id *string

systembackup_list List system backups

List Longhorn system backups. Longhorn docs: https://longhorn.io/docs/1.13.0/advanced-resources/system-backup-restore/

systembackup_get Get system backup

Get a single system backup by name. Longhorn docs: https://longhorn.io/docs/1.13.0/advanced-resources/system-backup-restore/

ParameterTypeDescription
name *string

systembackup_create Create system backup

Create a new Longhorn system backup. Longhorn docs: https://longhorn.io/docs/1.13.0/advanced-resources/system-backup-restore/

ParameterTypeDescription
name *string

systembackup_delete Delete system backup

Delete a Longhorn system backup. Destructive. Do not call this unless the user has explicitly authorized it in this conversation — never proactively, speculatively, or as a side effect of another task. Longhorn docs: https://longhorn.io/docs/1.13.0/advanced-resources/system-backup-restore/

ParameterTypeDescription
name *string

systemrestore_list List system restores

List Longhorn system restore operations. Longhorn docs: https://longhorn.io/docs/1.13.0/advanced-resources/system-backup-restore/

systemrestore_get Get system restore

Get a single system restore by name. Longhorn docs: https://longhorn.io/docs/1.13.0/advanced-resources/system-backup-restore/

ParameterTypeDescription
name *string

systemrestore_create Create system restore

Restore the Longhorn system from a system backup — restores cluster-wide Longhorn state. Destructive. Do not call this unless the user has explicitly authorized it in this conversation — never proactively, speculatively, or as a side effect of another task. Longhorn docs: https://longhorn.io/docs/1.13.0/advanced-resources/system-backup-restore/

ParameterTypeDescription
name *string
systemBackup *string

systemrestore_delete Delete system restore

Delete a Longhorn system restore record. Destructive. Do not call this unless the user has explicitly authorized it in this conversation — never proactively, speculatively, or as a side effect of another task. Longhorn docs: https://longhorn.io/docs/1.13.0/advanced-resources/system-backup-restore/

ParameterTypeDescription
name *string

volumeattachment_list List volume attachments

List Longhorn VolumeAttachment records (attachment tickets per volume).

volumeattachment_get Get volume attachment

Get a single VolumeAttachment record by name.

ParameterTypeDescription
name *string

longhorn_list_tags List tags

List node/disk/backing-image tags known to Longhorn, optionally filtered by type. Longhorn docs: https://longhorn.io/docs/1.13.0/nodes-and-volumes/nodes/

ParameterTypeDescription
typestring

longhorn_events List events

List Kubernetes events Longhorn has recorded against its own resources.

shard_list List shards

List erasure-coded shards backing V2 data engine sharded volumes (experimental feature). Longhorn docs: https://longhorn.io/docs/1.13.0/advanced-resources/sharding-storage/

shard_get Get shard

Get a single shard by id. Longhorn docs: https://longhorn.io/docs/1.13.0/advanced-resources/sharding-storage/

ParameterTypeDescription
id *string

shardgroup_list List shard groups

List shard groups (erasure-coding sets of shards) backing V2 data engine sharded volumes (experimental feature). Longhorn docs: https://longhorn.io/docs/1.13.0/advanced-resources/sharding-storage/

shardgroup_get Get shard group

Get a single shard group by id. Longhorn docs: https://longhorn.io/docs/1.13.0/advanced-resources/sharding-storage/

ParameterTypeDescription
id *string

longhorn_list_resource_types List Longhorn resource types

List every resource type Longhorn's manager API exposes, self-described at runtime via GET /v1/schemas.

longhorn_describe_resource_type Describe a Longhorn resource type

Describe one resource type's fields and available actions via GET /v1/schemas/{id} (e.g. "volume", "backupTarget", "node").

ParameterTypeDescription
id *string

longhorn_raw_request Raw Longhorn API request

Escape hatch for any Longhorn API endpoint not covered by a named tool. In --read-only mode, only GET requests succeed — everything else is refused before it reaches Longhorn. GET is always safe to call freely; for POST/PUT/DELETE, treat this exactly like the destructive tools elsewhere in this server — do not call with a mutating method unless the user has explicitly authorized that specific action in this conversation.

ParameterTypeDescription
method *string
path *stringPath starting with /v1/, e.g. "/v1/volumes/my-volume".
bodyobject