transform
Filter, select, rename, sort, and de-duplicate table data without SQL, then save the full result to Excel, CSV, Parquet, JSON, or Markdown.
Instructions
Filter, select, rename, sort and de-duplicate one table without writing SQL. Save with output.
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": "<source>"
},
"name": "transform"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| keep | No | Which duplicate to keep with dedupe_on. | first |
| limit | No | Max rows to return (default from server config, usually 100). | |
| sheet | No | Sheet name (or 0-based index). Default: first sheet. | |
| where | No | SQL filter, e.g. "region = 'EU' AND amount > 100". | |
| format | No | json = rows as arrays, records = list of objects, markdown = a table. | json |
| offset | No | Row offset for paging. | |
| output | No | Save the FULL result to this file (.xlsx/.csv/.parquet/.json/.md) instead of returning rows. | |
| rename | No | Rename columns: {'old': 'new'}. | |
| source | Yes | Data file; for a specific sheet use 'book.xlsx#Sheet1' or the sheet parameter. | |
| columns | No | Columns or expressions to keep, e.g. ['name', 'price*qty AS total']. | |
| distinct | No | Drop fully duplicated rows. | |
| order_by | No | Sort, e.g. ['amount DESC', 'name']. | |
| dedupe_on | No | Keep one row per these key columns. | |
| output_sheet | No | When output is an existing .xlsx: write into this sheet (replaced if it exists), keeping other sheets. |