Skip to main content
Glama

stop_clip

Stop playback of a specific clip in Ableton Live by specifying track and clip indices, allowing precise control over audio or MIDI arrangement elements during music production.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
track_indexYes
clip_indexYes

Implementation Reference

  • The main handler function for the 'stop_clip' tool. It retrieves the Ableton connection and sends a 'stop_clip' command with the provided track and clip indices, handling errors appropriately.
    @mcp.tool() def stop_clip(ctx: Context, track_index: int, clip_index: int) -> str: try: ableton = get_ableton_connection() ableton.send_command("stop_clip", {"track_index": track_index, "clip_index": clip_index}) return f"Stopped clip at track {track_index}, slot {clip_index}" except Exception as e: logger.error(f"Error stopping clip: {str(e)}") return f"Error stopping 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