Spreadsheet Cleaner API - trim, de-duplicate, merge Excel/CSV files
spreadsheet_cleanerClean one or many Excel/CSV files: trim spaces, drop empty rows/columns, remove duplicate rows (all columns or one key column), turn numbers-stored-as-text into numbers, merge files by column name. Runs on our server, files are deleted right after the call, nothing stored. Free: 25 calls/day per IP. Paid: $0.005 per call via x402 at https://radarbg.com/x402/spreadsheet-cleaner.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"fileName": "list.csv",
"fileContent": "TmFtZSxRdHkKIEFubmEgLDEKQW5uYSwxCiwKQm9iLDIK"
},
"name": "spreadsheet_cleaner"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | No | Duplicates by this column only (optional) | |
| files | No | Or several files: [{fileName, fileContent (base64)}] | |
| dedupe | No | Remove duplicate rows | |
| format | No | xlsx or csv | xlsx |
| fileName | No | File name with extension, e.g. report.pdf | |
| dropEmpty | No | Remove empty rows and columns | |
| fixNumbers | No | Numbers stored as text -> numbers | |
| trimSpaces | No | Remove extra spaces | |
| fileContent | No | The file as base64 (a data: URI is fine) |