Copy Path
copy_pathCopies a file or directory tree from a source path to a destination path, with optional overwrite and sudo support for authorized system file operations.
Instructions
Copy a file or directory tree.
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": "copy_path"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sudo | No | ||
| source | Yes | ||
| overwrite | No | ||
| destination | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |