table_pivot
Pivot records (index x columns -> aggregated values, agg sum|count|mean|min|max|first, columns sorted, missing -> null) or unpivot (melt, keep/vars). Paid route (x402 from first call).
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": "table_pivot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agg | No | sum | |
| csv | No | ||
| data | No | ||
| keep | No | unpivot: retained columns | |
| mode | No | pivot | |
| vars | No | unpivot: melted columns | |
| index | No | pivot: column or list of columns | |
| values | No | pivot: aggregated column | |
| columns | No | pivot: values spread here | |
| var_name | No | variable | |
| value_name | No | value |