create_table
Creates an empty rows x columns table on a slide (batchUpdate createTable) and returns its objectId in the reply. Fill cells with set_text / insert_text using row_index + column_index (0-based); restructure later with edit_table. Position/size are in points; omitted geometry lets the API pick a c...
This record as markdown: /tools/a1-x-tech-mcp-google-slides/create-table.md
What create_table does on Mcp Google Slides
AI agents use create_table to create or update resources in Mcp Google Slides, usually the action step of a workflow, after the agent has gathered context. Every call changes real data in your Mcp Google Slides environment.
| Parameter | Type | Required | Description |
|---|---|---|---|
rows | integer | Yes | Row count (the API allows at most 20 rows at creation). |
x_pt | number | — | Left edge in points (requires y_pt). |
y_pt | number | — | Top edge in points (requires x_pt). |
columns | integer | Yes | Column count (the API allows at most 20 columns at creation). |
width_pt | number | — | Width in points (requires height_pt). |
height_pt | number | — | Height in points (requires width_pt). |
object_id | string | — | Optional custom object id for the new table. |
page_object_id | string | Yes | The slide's object id to place the table on (from list_slides). |
presentation_id | string | Yes | The presentation id — the long id from the URL (docs.google.com/presentation/d/<presentationId>/edit) or from create_presentation output. |
Parameters from the server's own tool schema.
Why create_table is rated Medium
Reversibly creates presentation content; modifiable via edit_table and batch updates without permanent data loss.
From the tool's definition Creates empty table on slide, returns objectId, fills cells, restructures with edit_table.
Attacks that exploit this kind of access
The rule that runs create_table safely
PolicyLayer is an MCP gateway: it sits between your AI agents and Mcp Google Slides, and checks every tool call against a rule you set before the call runs. Nothing changes on the server itself. For create_table, this is the rule to start with:
create_table stays usable, but capped: an agent stuck in a loop can't make hundreds of changes a minute. Everything else on the server is denied unless you say otherwise.
The button opens the PolicyLayer dashboard: create your workspace, connect Mcp Google Slides, apply this rule, and every create_table call is checked against it from then on.
Questions about create_table
Creates an empty rows x columns table on a slide (batchUpdate createTable) and returns its objectId in the reply. Fill cells with set_text / insert_text using row_index + column_index (0-based); restructure later with edit_table. Position/size are in points; omitted geometry lets the API pick a centered default. Cell styling (borders, background) goes through batch_update updateTableCellProperties. It is categorised as a Write tool in the Mcp Google Slides MCP Server, which means it can create or modify data. Consider rate limits to prevent runaway writes.
create_table accepts 9 parameters: rows, x_pt, y_pt, columns, width_pt, height_pt, object_id, page_object_id, presentation_id. Required: rows, columns, page_object_id, presentation_id. The full parameter table on this page comes from the server's own tool schema.
Register the Mcp Google Slides MCP server in PolicyLayer and add a rule for create_table: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches Mcp Google Slides. Nothing to install.
create_table is a Write tool with medium risk. Write tools should be rate-limited to prevent accidental bulk modifications.
Yes. Add a rate_limit block to the create_table rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.
Set action: deny in the PolicyLayer policy for create_table. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.
create_table is provided by the Mcp Google Slides MCP server (@a1-x-tech/mcp-google-slides). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
More on Mcp Google Slides, and thousands of servers like it.
This server
Across the catalogue