createSlidesShape
Creates a shape on a Google Slides slide with specified type, EMU position and size, and optional fill color.
Instructions
Create a shape on a slide in Google Slides. Position and size are in EMU (914400 EMU = 1 inch).
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>",
"pageObjectId": "<pageObjectId>",
"shapeType": "<shapeType>",
"x": "<x>",
"y": "<y>",
"width": "<width>",
"height": "<height>"
},
"name": "createSlidesShape"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | X position in EMU | |
| y | Yes | Y position in EMU | |
| width | Yes | Width in EMU | |
| height | Yes | Height in EMU | |
| shapeType | Yes | Shape type | |
| pageObjectId | Yes | Slide page object ID | |
| presentationId | Yes | Presentation ID | |
| backgroundColor | No | Fill color (RGBA 0-1) |