Move or rename
fs_moveUse this when the user asks to move or rename a file or folder within an approved project on the same drive. An existing target is never replaced unless overwrite is true, and then only a file. Links, the project or workspace root and Local Commander's own files are refused. Changes files on the computer. Needs the sessionId from execution_session_open and a new operationId; each call is metered as one execution. A short result is returned inline within about two seconds; otherwise keep the returned IDs for operation_status and operation_output and do not resend the call.
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": {
"sessionId": "<sessionId>",
"operationId": "<operationId>",
"from": "<from>",
"to": "<to>"
},
"name": "fs_move"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | New path; its folder must exist | |
| from | Yes | Existing file or folder, relative to the selected project root (or the workspace root) | |
| overwrite | No | Replace an existing file at the new path (default false); folders are never replaced | |
| sessionId | Yes | executionSessionId returned by execution_session_open | |
| deadlineAt | No | Optional UTC admission deadline at most 60 seconds ahead (queue start timeout, NOT process execution lifetime) | |
| operationId | Yes | A new random UUID v4 for this call; reuse it only to retry this same call | |
| expectedSha256 | No | SHA-256 of the file being moved; refused if it changed (optional) | |
| idempotencyKey | No | Optional retry key, 8-128 chars of [A-Za-z0-9._:-]; defaults to operationId | |
| efficiencyProfile | No | Optional, unverified label of the client's model, recorded as display metadata in the device owner's local activity statistics. Omit when unknown. Never send credentials or conversation content. | |
| expectedTargetSha256 | No | SHA-256 of the file that overwrite replaces; refused if it changed (optional) |