Skip to main content
Glama

delete-network-volume

Remove a network volume from the RunPod MCP Server by specifying its ID to free up storage resources and manage infrastructure.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
networkVolumeIdYesID of the network volume to delete

Implementation Reference

  • The complete inline handler implementation for the 'delete-network-volume' tool. It registers the tool with MCP server, defines the input schema requiring networkVolumeId, and executes a DELETE request to the RunPod API endpoint `/networkvolumes/{networkVolumeId}` using the shared runpodRequest helper, returning the JSON response as text content.
    server.tool( 'delete-network-volume', { networkVolumeId: z.string().describe('ID of the network volume to delete'), }, async (params) => { const result = await runpodRequest( `/networkvolumes/${params.networkVolumeId}`, 'DELETE' ); return { content: [ { type: 'text', text: JSON.stringify(result, null, 2), }, ], }; } );

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/runpod/runpod-mcp-ts'

If you have feedback or need assistance with the MCP directory API, please join our Discord server