Add Data Table
add_data_tableCreate styled data tables on PowerPoint slides with automatic column widths, theme-based headers, zebra rows, numeric alignment, and optional source footnotes for publication-ready reporting.
Instructions
Create a publication-ready institutional data table on a slide.
Features:
Automatic column width calculation with wider category/label column 0
Institutional styled header with theme primary background (#1B365D) and bold white text
Alternating row zebra striping with slate gray fill (#F1F5F9)
Subtle OpenXML horizontal bottom borders (#CBD5E1) on every row
Intelligent alignment: Left-aligned for text/labels, Right-aligned for numeric data
Clean cell margins / padding and optional source footnote
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": {
"slide_index": "<slide_index>",
"headers": "<headers>",
"rows": "<rows>"
},
"name": "add_data_table"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| top | No | Top coordinate in inches | |
| left | No | Left coordinate in inches | |
| rows | Yes | 2D array of row cell data | |
| theme | No | Color scheme to use for table styling | institutional_navy |
| width | No | Total table width in inches | |
| height | No | Total table height in inches (auto-calculated if None) | |
| headers | Yes | List of column header labels | |
| footnote | No | Optional source or disclaimer note under the table | |
| auto_save | No | Whether to automatically save changes to file_path on disk | |
| file_path | No | Path to presentation file within sandbox | |
| slide_index | Yes | 0-based index of slide to add table to | |
| column_widths | No | Explicit column widths in inches (auto-calculated if None) | |
| presentation_id | No | In-memory presentation ID | |
| highlight_first_column | No | Whether to style first column with bold font |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||