remove_parameter
Remove a named parameter from a function signature while preserving the function body. Use to clean up unused parameters without rewriting the whole signature.
Instructions
Remove a parameter by name from a function signature. Leaves the body untouched.
Use this when: You need to remove one parameter without retyping the whole
signature.
Don't use this when: You need to replace the whole signature -> use
replace_signature.
Example: target="LRUCache.get" parameter_name="default"
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | ||
| target | Yes | ||
| parameter_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |