get_file_diff
Fetch the Upgrade Helper diff for one changed file to see the exact changes required when upgrading React Native versions.
Instructions
Return the Upgrade Helper diff for one changed file.
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": {
"from": "<from>",
"to": "<to>",
"filePath": "<filePath>"
},
"name": "get_file_diff"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | ||
| from | Yes | React Native version, for example 0.73.9. | |
| appName | No | RnDiffApp | |
| filePath | Yes | Repository path, for example android/build.gradle. | |
| maxChars | No | ||
| packageName | No | com.rndiffapp |