If you share your laptop model, I can confirm for you. Otherwise, go with (free) or a capture card (paid).
It sounds like you want to use your laptop’s screen to display your Xbox console’s output via HDMI. Here’s the short answer: display xbox on laptop hdmi