Copy or move one file within or across workspaces
file_opsCopies or moves files between confined workspaces, with default no-clobber protection and checksum-verified overwrites for safe file operations.
Instructions
Core FolderBridge regular-file copy/move with workspace confinement on both ends. Use source_workspace_id when multiple workspaces are configured; destination_workspace_id is optional and defaults to the source workspace. Paths remain workspace-relative, links/reparse points, credentials, dependencies and protected control config writes are denied. No-clobber is the default; overwrite requires the current destination SHA-256. Cross-volume move falls back to verified copy then source removal.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | ||
| max_bytes | No | ||
| overwrite | No | ||
| source_path | Yes | ||
| create_parents | No | ||
| destination_path | Yes | ||
| source_workspace_id | No | Required when more than one workspace is configured. | |
| expected_source_sha256 | No | Optional source-byte guard; also enables safe already-completed retry recognition. | |
| destination_workspace_id | No | Optional; defaults to source_workspace_id. | |
| expected_destination_sha256 | No | Required when overwrite=true; must match the current destination bytes. |