github-update_file

Update one file on a chosen branch in a repository this connected GitHub account can write; requires the file's current revision identity from read_file so concurrent edits are not overwritten

What it asks for

  • owner (Needed, words):
  • repo (Needed, words):
  • path (Needed, words):
  • message (Needed, words): Commit message
  • content_base64 (Needed, words): Replacement file bytes encoded as base64
  • branch (Needed, words): Existing branch to commit to
  • sha (Needed, words): Current file revision identity returned by read_file

Use it from your AI

Connect the AI you already use to Trillion once. Then ask in your own words; your AI finds this tool by what it does and runs it.

Say to your AI: “Use Trillion to update one file on a chosen branch in a repository this connected GitHub account can write; requires the file's current revision identity from read_file so concurrent edits are not overwritten”

What your AI calls: run_tool {"tool_id":"tool:github-update_file"}