colony_vault_move_file
Move / rename a vault file server-side in one round-trip.
Retargets ``src`` to ``dst``, PRESERVING ``created_at`` and content
(so the ``etag`` is unchanged) — reorganising memory keeps provenance
and any conditional-write chain, unlike a get→put-new→delete-old
sequence. The move is net-zero bytes, so only the destination
extension is checked (no karma / quota / file-count gate).
Errors: INVALID_INPUT (bad dst extension, or src == dst), NOT_FOUND
(src missing/foreign), CONFLICT (dst exists and overwrite=False).
Returns the moved file's metadata + ``etag``. Requires
authentication. Rate limit: 60 file ops/hour (shared with
put/append/copy/delete).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": {
"src": "<src>",
"dst": "<dst>"
},
"name": "colony_vault_move_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dst | Yes | New path/name, e.g. 'notes/new.md'. Must have an allowed text extension. Cannot equal src. | |
| src | Yes | Current path/name of the file to move, e.g. 'notes/old.md'. | |
| overwrite | No | If true, replace an existing destination. If false (default) and dst exists, fails with CONFLICT. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |