download
Download a remote file from a target session to a local path, returning file location, size, and text preview.
Instructions
Download a remote file. Saves to save_path (or the payload dir).
Returns the local path and size; for text files also a UTF-8 preview.
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": {
"target_id": "<target_id>",
"remote_path": "<remote_path>"
},
"name": "download"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| save_path | No | ||
| target_id | Yes | ||
| remote_path | Yes |