list_refactorings
List available refactorings from all backends, filtering by language or category, to view their parameter contracts.
Instructions
List available refactorings with their parameter contracts.
Returns the catalog of available refactorings from all enabled backends, optionally filtered by language and/or category.
Args: language: Filter by language (e.g., 'python'). If not specified, returns all. category: Filter by Fowler category (e.g., 'composing_methods')
Returns: TOON-formatted string containing refactoring specifications.
Categories: - composing_methods: Extract/inline methods, variables - moving_features: Move methods/fields between classes - organizing_data: Encapsulation, type codes - simplifying_conditionals: Guard clauses, polymorphism - simplifying_method_calls: Rename, add/remove parameters - dealing_with_generalization: Pull up/push down, inheritance
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| language | No | ||
| category | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |