remove_parameter
Remove a specific parameter from a function signature while preserving the function body. Use this tool to modify function parameters without rewriting the entire 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 |