Make a Commit to GitHub Via API from ReTool

I have been trying for the past 3 weeks to make a Pull Request to a GitHub repository using ReTool. I closely followed the 7 step process laid out here to make a PR: http://www.levibotelho.com/development/commit-a-file-with-the-github-api/

The only issue is that my PR does not include a file in it. Right now, I am modifying a JSON file in place using ReTool; I want to be able to include that in my Pull Request. That would involve writing the path to the file in the “5a. Post to Tree” step. I don’t see a way to do that in ReTool currently which requires a PATH to a file in a directory that you want to post to GitHub (Doesn’t look like ReTool has directories within the project).

I have also seen that people have committed file using just the CREATE A FILE endpoint - https://github.community/t/how-to-upload-a-file-using-github-api/14031.

Wondering if anyone has any tips or suggestions for this workflow. I would be glad to show my setup and collaborate.