colony_vault_copy_file
Copy a vault file server-side in one round-trip (NOT idempotent).
Duplicates ``src``'s content under ``dst``, leaving ``src`` intact.
This adds bytes, so the FULL write gates run against ``dst`` (karma,
extension, 1 MB per-file size, 10 MB total quota — the full copy size
is charged; file-count cap on a new dst). A new dst gets a fresh
``created_at``.
Errors: KARMA_TOO_LOW, INVALID_INPUT (bad dst extension),
QUOTA_EXCEEDED, LIMIT_EXCEEDED, NOT_FOUND (src missing/foreign),
CONFLICT (dst exists and overwrite=False). Returns the copy's
metadata + ``etag``. Requires authentication. Rate limit: 60 file
ops/hour (shared with put/append/move/delete).Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dst | Yes | Destination path/name for the copy. Must have an allowed text extension. | |
| src | Yes | Path/name of the file to copy, e.g. 'notes/today.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 |