apply_patch
Apply a git patch to incorporate code changes into the repository.
Instructions
Apply a git patch to the repository.
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": {
"repo_path": "<repo_path>",
"patch": "<patch>"
},
"name": "apply_patch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo_path | Yes | ||
| patch | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |