Copy Item

Copy a file or folder to another location

Parameters

ParameterTypeRequiredDescription
item_idstringRequiredID of the item to copy
target_folder_idstringRequiredID of the destination folder
overwritebooleanOptionalIf true, overwrite existing items with same name (default false)

Examples

MCP Tool Call

{
  "name": "sharefile_copyItem",
  "arguments": {
    "item_id": "example",
    "target_folder_id": "example",
    "overwrite": true
  }
}

REST API

curl -X POST https://api.syncello.io/v1/tools/sharefile/copyItem \
  -H "Authorization: Bearer YOUR_JWT_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
  "item_id": "example",
  "target_folder_id": "example",
  "overwrite": true
}'