You Have Thirteen Hours in Which to Solve the Labyrinth: Enhancing AI Game Masters with Function Calling