ds_copy_file
Copies a data-object file or collection directory to a new, nonexistent destination path, including its new name, for relocation or duplication.
Instructions
Copy a file (data-object) or directory (collection) to a new location.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"source_path": "<source_path>",
"destination_path": "<destination_path>"
},
"name": "ds_copy_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source_path | Yes | The path to the source file (data-object) or directory (collection). If directory path is given, the entire directory and its contents will be copied. | |
| destination_path | Yes | The new, complete path to copy the file (data-object) or directory (collection) to, including its new name. The path must not already exist. |