Open a direct text and file sharing window
abox_share_sessionOpens a visible local browser companion to share text or local files through abox.tools, with user approval for each reader and explicit saving to a new output directory.
Instructions
Open a visible local browser companion for abox.tools Share Text. Host may preload local files or a UTF-8 text file. The person clicks Start or Connect and approves each reader in the window. Existing abox.tools pairing sees IP addresses, timing and negotiation metadata; content goes directly over encrypted host-candidate WebRTC with no relay or discovery. Receive saves need a new output_dir and an explicit Save click; contents and pairing secrets are never returned to the agent. Requires directly reachable peers and an active graphical desktop. The window expires after 30 minutes by default.
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": {
"role": "<role>"
},
"name": "abox_share_session"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| role | Yes | ||
| room_name | No | Optional share code; omit to generate it privately in the companion window. | |
| text_path | No | Absolute local filesystem path. URLs and network shares are refused. | |
| output_dir | No | New directory for explicitly saved received content. Peer filenames are replaced with random safe names. | |
| input_paths | No | ||
| ttl_minutes | No |