Getting the Current Record Id in Agentforce Agent Script

Access the current record id in Agentforce Agent Script
Packaging Agent Script in Agentforce: Current Limitations and Workarounds

Agentforce customers face packaging issues with Agent Script, here’s why and what to do