pilot_send_file
Send local files to trusted peers over the Pilot overlay, ideal for delivering code patches, datasets, or generated artifacts.
Instructions
Send a local file to a trusted peer over the Pilot overlay. Recipient finds it via pilot_received. Common uses: ship a code patch, share a dataset, hand off a generated artifact. The peer must trust you first (pilot_handshake then their pilot_approve).
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": {
"peer": "<peer>",
"path": "<path>"
},
"name": "pilot_send_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Absolute local path to the file. | |
| peer | Yes | Peer hostname or pilot address. |