stop_playback_tool
Halt playback in Ableton Live sessions instantly using the stop_playback_tool on the AbletonMCP server. Simplify music production workflows by integrating AI-assisted controls for immediate session management.
Instructions
Stop playing the Ableton session.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- MCP_Server/server.py:134-137 (handler)MCP tool handler and registration for 'stop_playback_tool'. Decorated with @mcp.tool() and delegates to the stop_playback helper function.@mcp.tool() def stop_playback_tool(ctx: Context) -> str: """Stop playing the Ableton session.""" return stop_playback(ctx)
- Core implementation of stop_playback functionality. Establishes Ableton connection, sends 'stop_playback' command, and returns success or error message.def stop_playback(ctx: Context) -> str: """Stop playing the Ableton session.""" try: ableton = get_ableton_connection() result = ableton.send_command("stop_playback") return "Stopped playback" except Exception as e: logger.error(f"Error stopping playback: {str(e)}") return f"Error stopping playback: {str(e)}"