file_move
Move or rename a workspace file with overwrite protection and undo support; use dry_run to preview and undo to restore both source and destination.
Instructions
Move or rename one file inside the workspace and return operation_id and undo_available.
An occupied destination is refused unless overwrite is true, which makes
the call destructive at the destination. The move is recorded as one
operation and undo restores both ends. Credential-shaped destinations are
refused. dry_run writes nothing. Otherwise the operation is undoable.
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": {
"source": "<source>",
"destination": "<destination>"
},
"name": "file_move"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | Yes | ||
| dry_run | No | ||
| overwrite | No | ||
| destination | Yes | ||
| i_accept_secret_write_risk | No |