apply_sync
Fix broken call-sites by generating and applying patches for renamed symbols, added parameters, or structural changes across the project.
Instructions
Generates and applies code patches to heal broken call-sites across the project.
Args: symbol_name: The function/class name that was changed. change_type: 'RENAME', 'PARAM_ADDED', or 'STRUCT_CHANGE'. metadata: Dictionary containing 'new_name' or 'new_params'.
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": {
"symbol_name": "<symbol_name>",
"change_type": "<change_type>",
"metadata": "<metadata>"
},
"name": "apply_sync"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| metadata | Yes | ||
| change_type | Yes | ||
| symbol_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |