Git Commit
git_commitCommits staged changes using a provided commit message, adhering to Conventional Commits, with clear error feedback if nothing is staged.
Instructions
Commit the currently staged changes with the given message (the agent-authored Conventional Commit).
Fails with an actionable message if nothing is staged.
Args:
message (string): the full commit message (subject + optional body)
repo_path (string, optional): repository path (default: server cwd)
Returns JSON: { sha, shortStat }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| message | Yes | Full commit message | |
| repo_path | No | Path to the git repository. Defaults to the server's working directory. |