Add table
add_tableAdds a table to a Google Slides slide and optionally fills its rows and columns with 2D cell data.
Instructions
Add a table to a slide, optionally filled with a 2D array of cell strings (row-major).
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": {
"presentationId": "<presentationId>",
"slideId": "<slideId>",
"rows": "<rows>",
"columns": "<columns>"
},
"name": "add_table"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | Row-major cell contents, e.g. [["A","B"],["1","2"]] | |
| rows | Yes | ||
| columns | Yes | ||
| slideId | Yes | Slide (page) object ID from get_presentation or list_slides | |
| topInches | No | ||
| leftInches | No | ||
| widthInches | No | ||
| heightInches | No | ||
| presentationId | Yes | Presentation ID. Found in the Google Slides URL: docs.google.com/presentation/d/<ID>/edit |