move_directory
Relocate directories and automatically update all TypeScript import paths and references to maintain code integrity during file reorganization.
Instructions
Move a directory to a new location, updating all TypeScript imports and references automatically
Input Schema
Name | Required | Description | Default |
---|---|---|---|
overwrite | No | Whether to overwrite existing directory at target path | |
root | No | Root directory for resolving relative paths | |
sourcePath | Yes | The relative path of the directory to move | |
targetPath | Yes | The new relative path for the directory |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"overwrite": {
"description": "Whether to overwrite existing directory at target path",
"type": "boolean"
},
"root": {
"description": "Root directory for resolving relative paths",
"type": "string"
},
"sourcePath": {
"description": "The relative path of the directory to move",
"type": "string"
},
"targetPath": {
"description": "The new relative path for the directory",
"type": "string"
}
},
"required": [
"sourcePath",
"targetPath"
],
"type": "object"
}