-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgit_log.json
More file actions
77 lines (77 loc) · 2.37 KB
/
git_log.json
File metadata and controls
77 lines (77 loc) · 2.37 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "@rethunk/mcp-multi-root-git: git_log",
"description": "Parameter schema for the 'git_log' MCP tool.",
"type": "object",
"properties": {
"workspaceRoot": {
"description": "Highest-priority override.",
"type": "string"
},
"rootIndex": {
"description": "0-based index into the MCP file roots list; ignored when workspaceRoot is set.",
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"allWorkspaceRoots": {
"default": false,
"description": "Fan out across all MCP file roots.",
"type": "boolean"
},
"absoluteGitRoots": {
"description": "Absolute paths to git repo roots. Use for many sibling clones under a non-git parent directory.",
"maxItems": 256,
"type": "array",
"items": {
"type": "string"
}
},
"format": {
"default": "markdown",
"description": "`markdown` (default): headed sections per root. `json`: structured groups array. `oneline`: `<sha7> <subject>` per line, no headers (single-root) or `### repo (branch)` separator per group (multi-root). Lowest-token option for post-commit verification.",
"type": "string",
"enum": [
"markdown",
"json",
"oneline"
]
},
"since": {
"description": "Passed to `git log --since=`. Accepts ISO timestamps or git relative forms like `48.hours` or `2.weeks.ago`. Default: `7.days`.",
"type": "string"
},
"paths": {
"description": "Limit to commits touching these paths (passed as `-- <paths>`).",
"type": "array",
"items": {
"type": "string"
}
},
"grep": {
"description": "Filter commits whose message matches this regex (git `--grep`, case-insensitive).",
"type": "string"
},
"author": {
"description": "Filter by author name or email (passed as `--author=`).",
"type": "string"
},
"maxCommits": {
"default": 50,
"description": "Maximum commits to return per root (hard cap 500). Default 50.",
"type": "integer",
"minimum": 1,
"maximum": 500
},
"branch": {
"description": "Ref/branch to log from. Default: HEAD.",
"type": "string"
}
},
"required": [
"allWorkspaceRoots",
"format",
"maxCommits"
],
"additionalProperties": false
}