Apply changes to repo
apply_changes_to_repoSyncs a project's local clone with its base branch (pulling if it has fallen behind), applies file changes on a new branch, validates the build when the repo is a Node project, and opens a Pull Request for human review. The agent never pushes to the base branch directly. Requires the BotKelp account key that registered the project — fails for a project id you don't own, the same as for an unknown one.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| files | Yes | ||
| prBody | Yes | ||
| prTitle | Yes | ||
| projectId | Yes | ||
| reviewers | No | ||
| botKelpKey | Yes | BotKelp account key (starts with "bk_live_"). Required. | |
| branchName | Yes | Name for the new branch, e.g. agent/add-supabase-auth | |
| githubToken | Yes | GitHub PAT with repo write access, used for the clone/push and the PR. | |
| commitMessage | Yes |