fire_clip
Trigger playback of specific clips in Ableton Live by specifying track and clip indices, enabling precise control over musical arrangement elements.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| clip_index | Yes | ||
| track_index | Yes |
Implementation Reference
- MCP_Server/server.py:371-379 (handler)The main handler function for the 'fire_clip' MCP tool. It connects to Ableton and sends a 'fire_clip' command with the provided track_index and clip_index parameters, returning a success or error message.@mcp.tool() def fire_clip(ctx: Context, track_index: int, clip_index: int) -> str: try: ableton = get_ableton_connection() ableton.send_command("fire_clip", {"track_index": track_index, "clip_index": clip_index}) return f"Started playing clip at track {track_index}, slot {clip_index}" except Exception as e: logger.error(f"Error firing clip: {str(e)}") return f"Error firing clip: {str(e)}"