-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgit_worktree_add.json
More file actions
52 lines (52 loc) · 1.41 KB
/
git_worktree_add.json
File metadata and controls
52 lines (52 loc) · 1.41 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
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "@rethunk/mcp-multi-root-git: git_worktree_add",
"description": "Parameter schema for the 'git_worktree_add' 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"
},
"format": {
"default": "markdown",
"type": "string",
"enum": [
"markdown",
"json"
]
},
"path": {
"type": "string",
"minLength": 1,
"description": "Filesystem path for the new worktree. Relative paths are resolved from the git toplevel."
},
"branch": {
"type": "string",
"minLength": 1,
"description": "Branch to check out in the new worktree. Created from `baseRef` if absent."
},
"baseRef": {
"description": "Commit-ish to base the new branch on when it does not yet exist. Default: HEAD.",
"type": "string"
}
},
"required": [
"allWorkspaceRoots",
"format",
"path",
"branch"
],
"additionalProperties": false
}