add_unbatch
Expands a single batch or container token into multiple individual tokens, enabling downstream processing of each item independently.
Instructions
Unbatch (Split / Unpack) pattern.
One incoming token (representing a batch or container) is expanded into
batch_size individual tokens. The inverse of Batch.
Structure: [P: Input] -(weight=1)-> [T: Split] -(weight=N)-> [P: Output]
Use cases:
One received pallet token expanded into 48 individual box tokens
One batch job record split into individual work orders
One container unloaded into individual items for independent processing
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": {
"name": "<name>"
},
"name": "add_unbatch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| batch_size | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |