copy_file
Copies a file from a source path to a destination path on the agent, enabling file duplication or relocation.
Instructions
Copy a file on the agent. Usage: cp Arguments: src : STRING (required) — Source file path. dst : STRING (required) — Destination file path. Example: cp C:\Temp\file.txt C:\Temp\backup.txt
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": {
"agent_id": "<agent_id>",
"src": "<src>",
"dst": "<dst>"
},
"name": "copy_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent_id | Yes | ||
| src | Yes | ||
| dst | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |