Hey @ArturoGonzalez,
As of now, there isn't an easy way, the only work around I can think of, similarly to what was done here is to update a table in your database (rather than setting a global variable) and then add a tool to the agent that fetches the id from that table, and instruct the agent accordingly.
It's not great, but you can get it to work.