Several CSVs → one, columns unioned, row counts proven
merge_tablesCombines up to 20 CSVs into a single table. Headers do not have to match: columns are unioned and a file missing a column contributes blanks for it, so rows never shift silently — the failure mode that makes hand-merged spreadsheets untrustworthy. Reports each source file row count and checks in code that they sum to the merged total. Use for monthly exports, per-store sheets, or any set of files with the same subject but drifting headers.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "merge_tables"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| urls | No | Comma-separated CSV links, at least two. | |
| texts | No | Or pass the CSV contents directly as an array. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||