Git Context Tools
git_contextSummarize, search, and manage Git repository context and configuration, including aliases, so agents can retrieve or update repo settings.
Instructions
Context/config tool. Use action=summary|search|get_config|set_config|aliases for repo context operations.
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": "git_context"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | No | ||
| limit | No | ||
| query | No | ||
| value | No | ||
| action | No | summary | |
| repo_path | No | Absolute path to the local Git repository. If omitted, falls back to the server default set via the GIT_REPO_PATH environment variable or --repo-path CLI argument. | |
| response_format | No | Output format for the response. | markdown |