create_shape
Creates a shape on a slide (batchUpdate createShape), optionally with its initial text in the same atomic batch. Types: text_box, rectangle, round_rectangle, ellipse, diamond, triangle, right_arrow, left_arrow, up_arrow, down_arrow, star, heart, cloud, callout — the API's other ~130 ShapeTypes go...
This record as markdown: /tools/a1-x-tech-mcp-google-slides/create-shape.md
What create_shape does on Mcp Google Slides
AI agents use create_shape 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 |
|---|---|---|---|
text | string | — | Initial text, inserted in the same atomic batch. |
x_pt | number | — | Left edge in points (requires y_pt; default 50). |
y_pt | number | — | Top edge in points (requires x_pt; default 50). |
width_pt | number | — | Width in points (requires height_pt; default 300). |
height_pt | number | — | Height in points (requires width_pt; default 80). |
object_id | string | — | Optional custom object id (5-50 chars of [a-zA-Z0-9_-:]); auto-generated when omitted. |
shape_type | string | Yes | The shape type. |
page_object_id | string | Yes | The slide's object id to place the shape 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_shape is rated Medium
Adds reversible content to presentation; no deletion, execution, or financial impact.
From the tool's definition Creates a shape on a slide, returns objectId
Attacks that exploit this kind of access
The rule that runs create_shape 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_shape, this is the rule to start with:
create_shape 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_shape call is checked against it from then on.
Questions about create_shape
Creates a shape on a slide (batchUpdate createShape), optionally with its initial text in the same atomic batch. Types: text_box, rectangle, round_rectangle, ellipse, diamond, triangle, right_arrow, left_arrow, up_arrow, down_arrow, star, heart, cloud, callout — the API's other ~130 ShapeTypes go through batch_update. Position/size are in points ((0,0) is top-left; a default 16:9 slide is 720x405 pt); omitted geometry defaults to 300x80 pt at (50,50). Returns the shape's objectId in the reply. Fill/outline/shadow are not parameters here — style via batch_update updateShapeProperties; text styling via update_text_style. 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_shape accepts 9 parameters: text, x_pt, y_pt, width_pt, height_pt, object_id, shape_type, page_object_id, presentation_id. Required: shape_type, 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_shape: 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_shape 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_shape 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_shape. 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_shape 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