git_cherry_pick
Apply changes from a specified commit onto the current branch, enabling selective commit integration without merging entire branches.
Instructions
Apply the changes introduced by an existing commit
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": {
"commit": "<commit>"
},
"name": "git_cherry_pick"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| commit | Yes | The commit hash to cherry-pick | |
| repoPath | No | Path to git repository (defaults to current directory) |