copy_file_code
Copy a file or directory to a destination path with an optional overwrite flag. Streamlines resource duplication within VS Code projects.
Instructions
Copy a file or directory to another 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": "<source>",
"destination": "<destination>"
},
"name": "copy_file_code"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | Yes | The source path to copy from | |
| overwrite | No | Whether to overwrite existing files | |
| destination | Yes | The destination path to copy to |