upload
Upload a file to a remote session or beacon using a local file path or base64-encoded data.
Instructions
Upload a file to a session/beacon from a local file or base64 data.
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": "upload"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data_b64 | No | ||
| target_id | Yes | ||
| local_path | No | ||
| remote_path | Yes |