Create custom commands for google assistant

Job ID: 39191781

Budget: €8 – €30 EUR

I am asking, how to create custom commands for google assistant, my goal is to use the google assistant integrated into my android tv, to make it run scripts that will run on home assistant like: play {film} on kodi where film is a variable and pass it to my existing script for home assistant, so the requested part is how to extrapolate the variable {film} dictated to the google assistant and then pass it to my script that will search for the content.
Related categories: Python Virtual Assistant Node.js