setops_calculate
Calculate union, intersection, difference, symmetric difference, subset, and superset relationships between two arrays to compare sets and identify shared or unique values.
Instructions
Perform set operations: union, intersection, difference, symmetric difference, subset/superset.
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": {
"set_a": "<set_a>",
"set_b": "<set_b>"
},
"name": "setops_calculate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| set_a | Yes | First set (array of values). | |
| set_b | Yes | Second set (array of values). |