put_file
Copy a local file to a remote path on an acquired device using SCP. Verifies local file existence before transfer and returns transfer details.
Instructions
Copy a local file to remote_path on an acquired place (scp).
The local file must exist (a missing one is a pinned ToolError,
checked before the driver is bound). Returns
``{"place", "put": remote_path, "bytes": <local size>}``.
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": {
"place": "<place>",
"local_path": "<local_path>",
"remote_path": "<remote_path>"
},
"name": "put_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| place | Yes | ||
| local_path | Yes | ||
| remote_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||