power_set
Generate all possible subsets from an array of up to 20 elements for combinatorics, testing, and exhaustive grouping tasks.
Instructions
Generate all subsets of a set (up to 20 elements).
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": {
"elements": "<elements>"
},
"name": "power_set"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| elements | Yes | Array of elements (max 20) |