add_rectangle
Add a rectangle shape to Google Slides presentations with customizable position and size, defaulting to 20% of slide dimensions for quick visual element insertion.
Instructions
Add a rectangle to a slide with 20% of slide dimensions
Input Schema
Name | Required | Description | Default |
---|---|---|---|
height | No | Height of the rectangle (optional, defaults to 20% of slide height) | |
presentationId | Yes | The ID of the Google Slides presentation | |
slideId | Yes | The ID of the slide to add the rectangle to | |
width | No | Width of the rectangle (optional, defaults to 20% of slide width) | |
x | No | X position of the rectangle (optional, defaults to center) | |
y | No | Y position of the rectangle (optional, defaults to center) |
Input Schema (JSON Schema)
{
"properties": {
"height": {
"description": "Height of the rectangle (optional, defaults to 20% of slide height)",
"type": "number"
},
"presentationId": {
"description": "The ID of the Google Slides presentation",
"type": "string"
},
"slideId": {
"description": "The ID of the slide to add the rectangle to",
"type": "string"
},
"width": {
"description": "Width of the rectangle (optional, defaults to 20% of slide width)",
"type": "number"
},
"x": {
"description": "X position of the rectangle (optional, defaults to center)",
"type": "number"
},
"y": {
"description": "Y position of the rectangle (optional, defaults to center)",
"type": "number"
}
},
"required": [
"presentationId",
"slideId"
],
"type": "object"
}