Mailbox File Copy
mailbox_file_copyCopy one existing file to another path or mailbox by storage reference, including archived sources. The target mailbox must be writable; bytes are never downloaded or reuploaded.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Mailbox-relative file path, for example index.html or assets/app.js. | |
| reason | No | Optional reason for this action. AI agents should include a short purpose for intentional reads and changes when known. Do not invent a reason or include secrets, file contents, or transcripts. | |
| account_id | No | Optional account id from revdoku_status.accounts for this call only. Omit for the credential's default account. Client accounts require explicit Agency authorization; never infer an account from a mailbox id. | |
| mailbox_id | Yes | Value for mailbox id. | |
| target_path | No | Destination mailbox-relative file path. | |
| target_folder | No | Destination mailbox-relative folder. | |
| target_mailbox_id | No | Value for target mailbox id. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | ||
| reason | No | ||
| file_id | No | ||
| skipped | No | ||
| old_path | No | ||
| byte_size | No | ||
| mime_type | No | ||
| operation | No | ||
| version_id | No | ||
| input_index | No | ||
| source_file_id | No | ||
| version_number | No | ||
| source_mailbox_id | No | ||
| target_mailbox_id | No |