create-frame
Generate and position custom frames on Miro boards, specifying dimensions, style, and content visibility for enhanced collaboration.
Instructions
Create a new frame on a Miro board
Input Schema
Name | Required | Description | Default |
---|---|---|---|
boardId | Yes | Unique identifier (ID) of the board where the frame will be created | |
data | Yes | The content and configuration of the frame | |
geometry | No | Dimensions of the frame | |
position | Yes | Position of the frame on the board | |
style | No | Style configuration of the frame |
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 frame will be created",
"type": "string"
},
"data": {
"additionalProperties": false,
"description": "The content and configuration of the frame",
"properties": {
"format": {
"description": "Format of the frame. Only 'custom' is supported currently.",
"type": "string"
},
"showContent": {
"description": "Hide or reveal the content inside a frame (Enterprise plan only).",
"type": "boolean"
},
"title": {
"description": "Title of the frame. This title appears at the top of the frame.",
"type": "string"
},
"type": {
"description": "Type of the frame. Only 'freeform' is supported currently.",
"type": "string"
}
},
"type": "object"
},
"geometry": {
"additionalProperties": false,
"description": "Dimensions of the frame",
"properties": {
"height": {
"description": "Height of the frame",
"type": "number"
},
"width": {
"description": "Width of the frame",
"type": "number"
}
},
"type": "object"
},
"position": {
"additionalProperties": false,
"description": "Position of the frame on the board",
"properties": {
"x": {
"description": "X coordinate of the frame",
"type": "number"
},
"y": {
"description": "Y coordinate of the frame",
"type": "number"
}
},
"required": [
"x",
"y"
],
"type": "object"
},
"style": {
"additionalProperties": false,
"description": "Style configuration of the frame",
"properties": {
"fillColor": {
"description": "Fill color for the frame. Hex values like #f5f6f8, #d5f692, etc.",
"type": "string"
}
},
"type": "object"
}
},
"required": [
"boardId",
"data",
"position"
],
"type": "object"
}