Skip to main content
Glama

delete_clip

Remove audio or MIDI clips from Ableton Live tracks by specifying track and clip indices to clean up arrangements and manage session content.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
track_indexYes
clip_indexYes

Implementation Reference

  • The MCP tool handler for 'delete_clip'. It connects to the Ableton remote script and sends a 'delete_clip' command with track_index and clip_index parameters, returning success or error message.
    @mcp.tool() def delete_clip(ctx: Context, track_index: int, clip_index: int) -> str: try: ableton = get_ableton_connection() result = ableton.send_command("delete_clip", {"track_index": track_index, "clip_index": clip_index}) return f"Deleted clip '{result.get('clip_name')}' from track '{result.get('track_name')}'" except Exception as e: logger.error(f"Error deleting clip: {str(e)}") return f"Error deleting clip: {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