move_symbol
Move a class or function to another file and automatically update all imports across the project.
Instructions
Move a class or function to another file.
Updates all imports across the project automatically.
Args: project_path: Root directory of the Python project source_file: Source file path relative to project_path symbol_name: Name of the class or function to move dest_file: Destination file path (created if doesn't exist)
Returns: JSON with success status and list of changed files
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_path | Yes | ||
| source_file | Yes | ||
| symbol_name | Yes | ||
| dest_file | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |