create_summary_table
Create a grouped summary or pivot view of a table by chosen columns, adding a count column and enabling later aggregate formulas.
Instructions
Create a summary (pivot/grouped) view of a table. Groups rows by the specified columns and automatically adds a count column. Additional aggregate formulas can be added after creation.
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": {
"table_id": "<table_id>",
"group_by": "<group_by>"
},
"name": "create_summary_table"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | No | Widget title | |
| doc_id | No | Document ID | |
| group_by | Yes | Column names to group by | |
| table_id | Yes | Source table to summarize | |
| page_name | No | Add to an existing page (by name). Creates a new page if omitted. | |
| chart_type | No | Chart type if widget_type is chart (bar, line, pie, etc.) | |
| widget_type | No | Widget type for the summary view | grid |