merge_datasets
Merge multiple JSON datasets, deduplicate records using a key field, and resolve conflicts with configurable strategies. Combines data from diverse sources into a unified set.
Instructions
Merge multiple JSON datasets with deduplication and conflict resolution. Handles overlapping data intelligently, perfect for agents combining data from multiple sources.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| datasets | Yes | Array of datasets (each dataset is an array of objects) | |
| merge_key | Yes | Field name to use for identifying duplicate records (e.g., "id", "email") | |
| conflict_resolution | No | How to resolve conflicts when same record appears in multiple datasets | last_wins |