set_track_mute
Mute or unmute a specific track in Ableton Live by specifying the track index and mute state to control audio output during music production.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"track_index": "<track_index>"
},
"name": "set_track_mute"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| track_index | Yes | ||
| mute | No |
Implementation Reference
- MCP_Server/server.py:546-555 (handler)MCP tool handler function that proxies the set_track_mute command to the Ableton Remote Script via socket connection.
@mcp.tool() def set_track_mute(ctx: Context, track_index: int, mute: bool = False) -> str: try: ableton = get_ableton_connection() result = ableton.send_command("set_track_mute", {"track_index": track_index, "mute": mute}) status = "muted" if result.get('mute') else "unmuted" return f"Track '{result.get('track_name')}' is now {status}" except Exception as e: logger.error(f"Error setting track mute: {str(e)}") return f"Error setting track mute: {str(e)}"