annator / mcps /GitKraken /tools /git_worktree.json
techprotrade's picture
Add mcps directory
31c9f7d verified
Raw
History Blame Contribute Delete
792 Bytes
{
"name": "git_worktree",
"description": "List or add git worktrees (git worktree <action>).",
"inputSchema": {
"type": "object",
"properties": {
"action": {
"description": "Git worktree action to be executed",
"enum": [
"list",
"add"
],
"type": "string"
},
"branch": {
"description": "(Optional) Existing branch for the new worktree (used for add)",
"type": "string"
},
"directory": {
"description": "The directory to run git worktree in",
"type": "string"
},
"path": {
"description": "(Optional) Path for the worktree (required for add)",
"type": "string"
}
},
"required": [
"directory",
"action"
]
}
}