Data / VERSION 1
Deduplicate a list
Remove duplicate string values while preserving the first occurrence and original order.
RuntimeLocal DockerNetworkNoneRequest / result256 KiB eachProvider costNo API fees; local compute
Give it a task.
Use this MCP call after connecting Piwi. The output below is the result asserted by this tool's tests.
MCP tool call
{
"name": "piwi_run_list_unique",
"arguments": {
"input": {
"items": [
"alpha",
"beta",
"alpha"
]
}
}
}Expected output
{
"items": [
"alpha",
"beta"
],
"removed": 1
}Inputs
- items: up to 10000 strings
Outputs
- items
- removed