p2p_file_write
Writes or updates a file in a P2P Hyperdrive, streaming changes to connected peers automatically so shared state stays in sync.
Instructions
Schreibt oder aktualisiert eine Datei im P2P-Hyperdrive. Die Änderung wird automatisch an verbundene Peers gestreamt.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | No | Der Hex-Key des Drives (optional falls nur ein Drive aktiv ist). | |
| content | Yes | Der Textinhalt der Datei. | |
| filePath | Yes | Virtueller Pfad im Drive (z. B. "/context/task.md" oder "/state.json"). |