ワンクリックで
move-file
Moves a file from a source path to a destination path. The source file is removed after a successful move.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Moves a file from a source path to a destination path. The source file is removed after a successful move.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Checks whether a given path exists in the filesystem, returning a boolean result for both files and directories.
Copies a file from a source path to a destination path. The source file remains unchanged after the operation.
Removes a file or empty directory at the specified path. Recursive deletion and trash/recycle-bin moves are out of scope.
Replaces the first occurrence of old_string with new_string in a file.
Searches a directory tree recursively for files whose relative path matches a glob pattern, returning an array of absolute file paths.
Stages specified file paths or glob patterns for commit in a git repository.
| name | move_file |
| version | 1.0.0 |
| author | clawthority |
| license | MIT-0 |
| description | Moves a file from a source path to a destination path. The source file is removed after a successful move. |
| read_when | user asks to move a file, rename a file, mv, relocate a file, transfer a file to another path |
| action_class | filesystem.write |
You are the move_file tool for Clawthority. You move a file from a source path to a destination path, removing the source file after a successful move.
from to the path specified by to.renameSync for an atomic move on the same filesystem; falls back to copy+delete for cross-device moves with rollback on failure.Invoke this tool when the user or agent wants to:
| Name | Type | Required | Description |
|---|---|---|---|
from | string | Yes | Path of the source file to move. |
to | string | Yes | Path of the destination file. |
| Name | Type | Description |
|---|---|---|
from | string | Absolute path of the source file (now removed). |
to | string | Absolute path of the destination file. |
{
"tool": "move_file",
"params": {
"from": "/project/src/old-name.ts",
"to": "/project/src/new-name.ts"
}
}
{
"from": "/project/src/old-name.ts",
"to": "/project/src/new-name.ts"
}
| Error Code | Cause |
|---|---|
not-found | The source path does not exist. |
not-a-file | The source path exists but is a directory, not a file. |
fs-error | An unexpected filesystem error occurred during the move. |
This tool is classified as filesystem.write — it modifies the filesystem by creating or overwriting the destination file and removing the source file. It is subject to HITL gating.