Skip to main content
Glama

delete_track

Remove a track from your Ableton Live session by specifying its index number. Use this tool to clean up your arrangement and manage your project's structure.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
track_indexYes

Implementation Reference

  • The main handler function for the MCP 'delete_track' tool. It retrieves the Ableton connection, sends a 'delete_track' command with the provided track_index, and returns a formatted success or error message.
    def delete_track(ctx: Context, track_index: int) -> str: try: ableton = get_ableton_connection() result = ableton.send_command("delete_track", {"track_index": track_index}) return f"Deleted track '{result.get('name')}' at index {result.get('index')}" except Exception as e: logger.error(f"Error deleting track: {str(e)}") return f"Error deleting track: {str(e)}"

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/Milesy1/MCP-Ableton-API'

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