-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgit_show.json
More file actions
51 lines (51 loc) · 1.4 KB
/
git_show.json
File metadata and controls
51 lines (51 loc) · 1.4 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
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "@rethunk/mcp-multi-root-git: git_show",
"description": "Parameter schema for the 'git_show' 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
},
"format": {
"default": "markdown",
"type": "string",
"enum": [
"markdown",
"json"
]
},
"ref": {
"type": "string",
"minLength": 1,
"description": "Commit reference (SHA, branch, tag, or any git rev-spec)."
},
"path": {
"description": "Optional single file path to inspect at the ref. Merged with `paths` when both are provided.",
"type": "string"
},
"paths": {
"description": "Optional list of file paths to filter the shown diff/stat. Merged with `path` when both are provided.",
"type": "array",
"items": {
"type": "string"
}
},
"stat": {
"description": "When true, show --stat diffstat (files changed summary) instead of the full patch.",
"type": "boolean"
}
},
"required": [
"format",
"ref"
],
"additionalProperties": false
}