Copy File or Directory
fs_copyCopies a file or recursively copies an entire folder to a destination path, with optional overwrite when the target already exists.
Instructions
复制文件或递归复制整个文件夹到目标路径。
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": "<source>",
"destination": "<destination>"
},
"name": "fs_copy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | Yes | 源路径 | |
| overwrite | No | 目标已存在时是否覆盖 | |
| destination | Yes | 目标路径 |