tunnel_read
Fetches the value stored by a previous tunnel_create call using its ID. Consume once; the value is destroyed after reading and may expire if maxReads is set.
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.
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": {
"id": "<id>"
},
"name": "tunnel_read"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The opaque tunnel ID returned by `tunnel_create`. Case-sensitive. |