Move or rename
move_fileMove or rename files and directories in everkeep, and restore items by moving them out of trash. Supply the current rev when moving a file out of a revision-protected zone.
Instructions
Move or rename a file or directory. Taking a file out of a zone with policy overwrite="rev" requires its current rev, exactly like overwriting it in place; directories are not moved out of a strict zone at all. Use trash_file, not this, to discard something; moving a file out of the trash restores it.
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": "move_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rev | No | Current rev of the source file, required when it leaves a zone with overwrite="rev". | |
| source | Yes | ||
| destination | Yes |