pull_file
Copies a file or directory from a remote device to this machine via scp -r, enabling retrieval of remote data when SSH execution is enabled.
Instructions
Copy a file or directory from a device to this machine (scp -r). Requires exec=true.
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": {
"device": "<device>",
"remote_path": "<remote_path>",
"local_path": "<local_path>"
},
"name": "pull_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| device | Yes | ||
| timeout_s | No | ||
| local_path | Yes | ||
| remote_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |