Read git history
git_readRead-only: the project's git repository in /workspace. action "status", "log" (recent commits), "diff" (uncommitted changes; paths to limit) and "remote_show" (the connected remote). To commit, push, pull or change the remote use the git tool.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"action": "<action>",
"project": "<project>"
},
"name": "git_read"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| paths | No | ||
| action | Yes | ||
| project | Yes | Project slug or id. |