pptx_add_table
Add a data table to a PowerPoint slide with column headers and optional rows. Specify position and size in inches for 16:9 slides.
Instructions
Add a data table to a slide.
Creates a table with column headers and optional data rows. Header row is bold. Position/size in inches (16:9 slide = 13.3" × 7.5").
Args: file_path: Path to the .pptx file slide_number: 1-based slide number headers: Column header names (e.g., ['Phase', 'Duration', 'Deliverables']) rows: Data rows as list of lists (optional) left, top: Position from top-left (default: 1.0", 2.0") width, height: Table size (default: 11.0" × 3.0")
Returns: Status with table dimensions
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | Path to the .pptx file | |
| slide_number | Yes | 1-based slide number | |
| headers | Yes | Column header names (e.g., ['Phase', 'Duration', 'Deliverables']) | |
| rows | No | Data rows as list of lists (optional) | |
| left | No | ||
| top | No | ||
| width | No | ||
| height | No | ||
| output_path | No |