# Move File

> Move or rename files and directories. Can move files between directories and rename them in a single operation. If the destination exists, the operation will fail. Works across different directories and can be used for simple renaming within the same directory. Both source and destination must be within allowed directories.

- Skill: `xiaobai1017/move-file` (Agent Skill)
- Install (CLI): `npx skillmds@latest add xiaobai1017/move-file`
- Raw SKILL.md: https://api.skillmd.com/api/skills/xiaobai1017/move-file/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: xiaobai1017 (https://skillmd.com/u/xiaobai1017)
- Updated: 2026-09-22
- Page: https://skillmd.com/skills/xiaobai1017/move-file

---


# Move File

Move or rename files and directories. Can move files between directories and rename them in a single operation. If the destination exists, the operation will fail. Works across different directories and can be used for simple renaming within the same directory. Both source and destination must be within allowed directories.

## Purpose

This skill provides access to the MCP tool `move_file`. It allows you to move or rename files and directories. can move files between directories and rename them in a single operation. if the destination exists, the operation will fail. works across different directories and can be used for simple renaming within the same directory. both source and destination must be within allowed directories..

## Parameters

The tool accepts the following parameters:

### `source`
**Required**
- **Type**: `string`
- **Description**: No description provided

### `destination`
**Required**
- **Type**: `string`
- **Description**: No description provided


## Usage Instructions

To use this tool:

1. **Prepare the parameters** according to the schema above
2. **Invoke the MCP tool** `move_file` with the prepared parameters
3. **Process the result** returned by the tool

## Example

```json
{
  "source": "example_value",
  "destination": "example_value"
}
```

## Expected Output

The tool returns data with the following structure:

- **content** (`string`): No description provided


## Notes

- This skill requires an active MCP connection to the server providing the `move_file` tool
- Ensure the MCP server is properly configured and running before attempting to use this tool
- Review the parameter requirements carefully to avoid errors
