create-shape-item
Add customizable shapes like rectangles, circles, or triangles to a Miro board, specifying position, dimensions, text content, and styling for clearer visual communication.
Instructions
Create a new shape item on a Miro board
Input Schema
Name | Required | Description | Default |
---|---|---|---|
boardId | Yes | Unique identifier (ID) of the board where the shape will be created | |
data | Yes | The content and configuration of the shape | |
geometry | Yes | Dimensions of the shape | |
position | Yes | Position of the shape on the board | |
style | No | Style configuration of the shape |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"boardId": {
"description": "Unique identifier (ID) of the board where the shape will be created",
"type": "string"
},
"data": {
"additionalProperties": false,
"description": "The content and configuration of the shape",
"properties": {
"content": {
"description": "Text content to display inside the shape",
"type": "string"
},
"shape": {
"description": "Type of the shape (rectangle, circle, triangle, etc.)",
"type": "string"
}
},
"required": [
"shape"
],
"type": "object"
},
"geometry": {
"additionalProperties": false,
"description": "Dimensions of the shape",
"properties": {
"height": {
"description": "Height of the shape",
"type": "number"
},
"rotation": {
"description": "Rotation angle of the shape",
"type": "number"
},
"width": {
"description": "Width of the shape",
"type": "number"
}
},
"required": [
"width",
"height"
],
"type": "object"
},
"position": {
"additionalProperties": false,
"description": "Position of the shape on the board",
"properties": {
"x": {
"description": "X coordinate of the shape",
"type": "number"
},
"y": {
"description": "Y coordinate of the shape",
"type": "number"
}
},
"required": [
"x",
"y"
],
"type": "object"
},
"style": {
"additionalProperties": false,
"description": "Style configuration of the shape",
"properties": {
"borderColor": {
"description": "Color of the shape border (hex format, e.g. #000000)",
"type": "string"
},
"borderOpacity": {
"description": "Opacity of the shape border (0-1)",
"type": "number"
},
"borderStyle": {
"description": "Style of the shape border (normal, dashed, etc.)",
"type": "string"
},
"borderWidth": {
"description": "Width of the shape border",
"type": "number"
},
"color": {
"description": "Color of the text in the shape (hex format, e.g. #000000)",
"type": "string"
},
"fillColor": {
"description": "Fill color of the shape (hex format, e.g. #000000)",
"type": "string"
},
"fillOpacity": {
"description": "Opacity of the shape fill (0-1)",
"type": "number"
}
},
"type": "object"
}
},
"required": [
"boardId",
"data",
"position",
"geometry"
],
"type": "object"
}