remediate_code
Automatically fixes React Native code issues with expert-level solutions. You can specify particular issues or let the tool auto-detect all problems.
Instructions
Automatically fix React Native code issues with expert-level solutions
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": {
"code": "<code>"
},
"name": "remediate_code"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | React Native code to remediate | |
| issues | No | Specific issues to fix (if not provided, auto-detects all) | |
| remediation_level | No | Level of remediation to apply | |
| preserve_formatting | No | Whether to preserve original code formatting | |
| add_comments | No | Whether to add explanatory comments to fixes |