How to automate secondary display with Appium

I have a device with multiple displays. I want to automate the actions on secondary display also. If that is not possible atleast provide a way to get the xml snapshot of the secondary display using appium inspector

Try enableMultiWindows setting from Appium Settings API: