push_file
Upload files from your local system to a Sprite VM by specifying local and remote paths for file transfer.
Instructions
Upload a file from local filesystem to a remote Sprite VM
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": {
"sprite": "<sprite>",
"local_path": "<local_path>",
"remote_path": "<remote_path>"
},
"name": "push_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sprite | Yes | Name of the sprite | |
| local_path | Yes | Path to the local file | |
| remote_path | Yes | Destination path on the remote sprite | |
| org | No | Organization name (optional) |