move_module
Move a Python module or package to a new folder and automatically update all imports across the project.
Instructions
Move a module or package to another folder.
Updates all imports across the project automatically.
Args: project_path: Root directory of the Python project module_path: Path to module file or package folder (relative to project_path) dest_folder: Destination folder path (relative to project_path)
Returns: JSON with success status and list of changed files
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": {
"project_path": "<project_path>",
"module_path": "<module_path>",
"dest_folder": "<dest_folder>"
},
"name": "move_module"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_path | Yes | ||
| module_path | Yes | ||
| dest_folder | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |