git-cherry-pick
Apply changes from a specific commit to the current branch by providing its commit hash.
Instructions
Apply changes from a specific commit to the current branch
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": {
"commitHash": "<commitHash>"
},
"name": "git-cherry-pick"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| directory | No | The directory to run the command in (defaults to current working directory) | |
| commitHash | Yes | The commit hash to cherry-pick |