On my current project we need to implement custom TCDL tag.
The purpose of the tag is to recognize the device that is used (mobile, tablet, desktop) and to return the content for that device.
We implemented the com.tridion.tcdl.TagRenderer interface in our code but I cannot see any method that will give me current request so I can check the device that is used.

Is this solution even possible with TCDL tags?