Right now it currently just spits out a giant wall of text when you search someone.
How about instead, or a different tool that makes a temporary container of items (like merchant stalls), that can't be looted so you can look through the inventory with your own eyes to reduce the motivation to yank packs? It should vanish once you close the window.
Decent idea, but would probably cause a lot of lag.
Ideally, if you've subdued someone they should just help you find the item you're trying to take for sake of practicality.