array_union
Get union of two arrays.
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": {
"array1": "<array1>",
"array2": "<array2>"
},
"name": "array_union"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| array1 | Yes | First comma-separated array | |
| array2 | Yes | Second comma-separated array |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | Yes | ||
| union | No | ||
| array1 | Yes | ||
| array2 | Yes | ||
| difference | No | ||
| intersection | No | ||
| symmetric_difference | No |