connect_wip_return
Wire the work-in-progress (WIP) return arc to recycle a WIP slot when an entity reaches an exit place, maintaining token flow to downstream consumers.
Instructions
Wire the WIP return arc — recycle a WIP slot when an entity reaches the exit place.
For every transition that already produces tokens into exit_place_id, an extra output arc to the controller's WIPSlots place is added. Tokens are NOT consumed — the entity continues to flow through the exit place to its downstream consumer.
Call AFTER wiring the WIP-controlled section, so the producer transitions of exit_place_id exist.
Args: wip_controller_name: Instance name passed to add_wip_controller exit_place_id: Output place ID of the last pattern in the controlled section
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": {
"wip_controller_name": "<wip_controller_name>",
"exit_place_id": "<exit_place_id>"
},
"name": "connect_wip_return"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| wip_controller_name | Yes | ||
| exit_place_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |