how do I pass cookies into custom tool call?

I want to be able to identify user from cookies token to make sure I'm only retrieving data for a particular user when custom tool is called
Was this page helpful?