Variables available in script that runs after recording

Once the local recording is done, we have an option to run a script in jibri config.json. I want to access the name of the recording and its path, how to access that in the script that runs after the recording is over? Thanks