clean_drop_duplicates
Remove duplicate rows from a data source by exact full-row matching or by specified key columns, keeping the first occurrence per key.
Instructions
New source with duplicates removed.
Without `keys`: exact full-row deduplication (`SELECT DISTINCT *`).
With `keys`: keeps the first row per key combination via ROW_NUMBER.
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": {
"source_id": "<source_id>"
},
"name": "clean_drop_duplicates"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| keys | No | ||
| alias | No | ||
| source_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||