connect_bounded_consumer
Recycles wire capacity by connecting a bounded queue's consumer to the queue's capacity place, freeing a slot per dequeue.
Instructions
Wire capacity recycling between a BoundedQueue and its consumer.
Looks up the queue's capacity place by naming convention ('{queue_name}_Capacity') and the consumer's start transition ('{consumer_name}_Start' for Machine, '{consumer_name}_Do' for Assembly), then adds an arc consumer->capacity so each dequeue recycles a slot.
Args: queue_name: Instance name passed to add_bounded_queue consumer_name: Instance name of the downstream consumer (Machine or Assembly)
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": {
"queue_name": "<queue_name>",
"consumer_name": "<consumer_name>"
},
"name": "connect_bounded_consumer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| queue_name | Yes | ||
| consumer_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |