hub_queue_forward
Forwards a queue block intact to its intended role: body byte for byte, named task included, plus a forward line with sender, queue, and id; validates the target queue before sending.
Instructions
Pass a queue block on to the role it is really for, WHOLE: its body byte for byte, under one line that says who forwarded it, from which queue, its first sender and id; the task it named goes with it. A message for another role retold in your own words loses what the retelling leaves out — forward it instead. The target is checked like any send (a queue with no reader is refused unless new_reader).
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>",
"role": "<role>",
"from": "<from>"
},
"name": "hub_queue_forward"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | the block id, the `· id` in its header, as "pine-12" | |
| from | Yes | who forwards it — the function you are performing | |
| note | No | one line of your own, added to the forward line (why it goes there); the body is never edited | |
| role | Yes | the role to forward it to | |
| new_reader | No | true for a role whose first session is about to start |