Install Git Hooks
install_git_hooksInstall a pre-commit hook to sync Project Brain and context with native terminal Git commits, keeping project state current after every commit.
Instructions
Install automated pre-commit hook to sync Project Brain and context with native terminal git commits.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "install_git_hooks"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hook_type | No | Hook to install ('pre-commit' or 'post-commit'). | pre-commit |
| repo_path | No | Path to the git repository (defaults to project root). | . |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |