copy_path
Copy files or directories to a specified location using absolute or relative paths. Automatically performs recursive copy for directories unless specified otherwise.
Instructions
Copies a file or directory to a new location. Accepts relative or absolute paths. Defaults to recursive copy for directories.
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": "copy_path"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| destination_path | Yes | The path where the copy should be created. Can be relative or absolute. | |
| recursive | No | If copying a directory, whether to copy its contents recursively. Defaults to true. | |
| source_path | Yes | The path of the file or directory to copy. Can be relative or absolute. |