stop_clip
Stop playback of a specific audio or MIDI clip in Ableton Live by specifying track and clip positions. Control your music production session by halting individual clips when needed.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| clip_index | Yes | ||
| track_index | Yes |
Implementation Reference
- MCP_Server/server.py:381-389 (handler)The handler function for the 'stop_clip' MCP tool. It connects to Ableton via get_ableton_connection() and sends a 'stop_clip' command with track_index and clip_index parameters, returning a success or error message.@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)}"