tunnel_read
Fetch a stashed value by tunnel ID. The value is destroyed after retrieval, and the tunnel may self-delete.
Instructions
[tunnel] Fetch the value stashed by a prior tunnel_create call by its ID. Use exactly once per intended consumer; the value is destructive-by-design and may self-delete after this call. Increments the read counter and may auto-destroy the tunnel if maxReads was set. Returns JSON { ok, data: { id, value } } on success, or an error 'Tunnel "..." not found or expired' if the tunnel has been destroyed, hit its TTL, or never existed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The opaque tunnel ID returned by `tunnel_create`. Case-sensitive. |