Copy Item
Copy a file or folder to another location
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
item_id | string | Required | ID of the item to copy |
target_folder_id | string | Required | ID of the destination folder |
overwrite | boolean | Optional | If 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
}'