set_track_arm
Arm or disarm a specific track in Ableton Live for recording. Control which tracks are ready to capture audio or MIDI input during music production sessions.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| track_index | Yes | ||
| arm | No |
Implementation Reference
- MCP_Server/server.py:535-544 (handler)MCP tool handler implementation for 'set_track_arm'. Connects to Ableton via socket, sends the 'set_track_arm' command with parameters, and returns a status message indicating if the track is armed or disarmed.@mcp.tool() def set_track_arm(ctx: Context, track_index: int, arm: bool = True) -> str: try: ableton = get_ableton_connection() result = ableton.send_command("set_track_arm", {"track_index": track_index, "arm": arm}) status = "armed" if result.get('arm') else "disarmed" return f"Track '{result.get('track_name')}' is now {status}" except Exception as e: logger.error(f"Error setting track arm: {str(e)}") return f"Error setting track arm: {str(e)}"