copy_file
Copy a file from a source path to a destination path, optionally across different storage backends like local, S3, or WebDAV.
Instructions
Copy a file between backends or within the same backend.
Args:
src: Source file path
dst: Destination file path
src_backend: Source backend name (uses default if not specified)
dst_backend: Destination backend name (uses default if not specified)
Returns:
Success message
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": {
"src": "<src>",
"dst": "<dst>"
},
"name": "copy_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| src | Yes | ||
| dst | Yes | ||
| src_backend | No | ||
| dst_backend | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |