find_duplicates
Identify duplicate rows in Excel sheets based on specified columns. Returns duplicate groups and row indices for cleanup.
Instructions
Identify duplicate rows based on a list of columns.
Args: file_path: Workbook path. sheet_name: Worksheet name. columns: Columns used to determine duplicates. has_header: Whether the sheet has a header row.
Returns: dict: Duplicate groups and row indices.
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": {
"file_path": "<file_path>",
"sheet_name": "<sheet_name>",
"columns": "<columns>"
},
"name": "find_duplicates"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| columns | Yes | ||
| file_path | Yes | ||
| has_header | No | ||
| sheet_name | Yes |