brain_from_git
Bootstrap brain lessons from git history. Parses commit messages and infers fix/feature/refactor lessons automatically. Great for onboarding an existing codebase — run once and the brain instantly knows your team's accumulated patterns. Incremental by default: only processes new commits since the last run, so repeated calls are fast. Emits progress updates to stderr during long scans.
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": "brain_from_git"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max commits to process (default: 100, max: 500) | |
| since | No | Only commits after this date, e.g. "2024-01-01" (optional) | |
| branch | No | Git branch to parse (default: current branch / HEAD) | |
| repo_path | No | Path to git repository (default: current directory) | |
| incremental | No | Only process commits since last run (default: true). Set false to reprocess all. | |
| instance_id | No | Brain instance ID |