Skip to main content
Glama

liara_delete_source

Remove uploaded source files from Liara cloud applications to manage storage and clean up resources.

Instructions

Delete an uploaded source

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
appNameYesThe name of the app
sourceIDYesThe source ID to delete

Implementation Reference

  • The main handler function for deleting a deployment source. It validates inputs and calls the Liara API to delete the source at `/v2/projects/{appName}/sources/{sourceID}`. This implements the core logic of the 'liara_delete_source' tool.
    export async function deleteSource( client: LiaraClient, appName: string, sourceID: string ): Promise<void> { validateAppName(appName); validateRequired(sourceID, 'Source ID'); await client.delete(`/v2/projects/${appName}/sources/${sourceID}`); }

Other Tools

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/razavioo/liara-mcp'

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