batch_batch_partition
Split a batch into passing and failing lists using a custom function, returning both lists along with pass and fail counts.
Instructions
[batch] Split into passing (truthy) and failing (falsy) lists. Returns {passing, failing, pass_count, fail_count}.
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": {
"items": "<items>",
"fn": "<fn>"
},
"name": "batch_batch_partition"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | ||
| fn | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |