This Seeking Tech guide will explain how you can get to the clue bottle on the roof in Episode 8 of Sly 2: Band of Thieves (2024) on PS5 and PS4.
Use the following video as a visual aide:
You will need to get a special gadget to make you jump higher. To do this earlier in the episode, you can use the Turnbuckle Launch for Murray to jump on the roof.
You can also get there with Sly when you get the Mega Jump Pack in a story mission later on in the episode.