move_file
Relocate or rename files and directories within the MCP Filesystem Server. Specify source and destination paths, with an option to overwrite existing files.
Instructions
Move or rename files and directories.
Args:
source: Source path
destination: Destination path
overwrite: Whether to overwrite existing destination
ctx: MCP context
Returns:
Success or error message
Input Schema
Name | Required | Description | Default |
---|---|---|---|
destination | Yes | ||
overwrite | No | ||
source | Yes |
Input Schema (JSON Schema)
{
"properties": {
"destination": {
"title": "Destination",
"type": "string"
},
"overwrite": {
"default": false,
"title": "Overwrite",
"type": "boolean"
},
"source": {
"title": "Source",
"type": "string"
}
},
"required": [
"source",
"destination"
],
"title": "move_fileArguments",
"type": "object"
}