Copy file
copy_fileUse this when the user asks to copy exactly one regular file to a new path on the same computer. For directories or two or more copies use copy_paths.
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>",
"device": "<device>"
},
"name": "copy_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| device | Yes | ReMCP device id returned by list_devices. Required for every device operation. | |
| source | Yes | Absolute path of the file to copy. | |
| overwrite | No | Replace the destination when it already exists. Default true. | |
| destination | Yes | Absolute destination path. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | Optional structured result data for follow-up reasoning and tool calls. | |
| text | Yes | Concise human-readable result of the tool call. |