update-embed-item
Modify an existing embed item on a Miro board by updating its mode, position, or dimensions. Specify the board and item IDs to apply changes.
Instructions
Update an existing embed item on a Miro board
Input Schema
Name | Required | Description | Default |
---|---|---|---|
boardId | Yes | Unique identifier (ID) of the board that contains the embed | |
data | No | The updated configuration of the embed | |
geometry | No | Updated dimensions of the embed | |
itemId | Yes | Unique identifier (ID) of the embed that you want to update | |
position | No | Updated position of the embed on the board |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"boardId": {
"description": "Unique identifier (ID) of the board that contains the embed",
"type": "string"
},
"data": {
"additionalProperties": false,
"description": "The updated configuration of the embed",
"properties": {
"mode": {
"description": "Updated mode of the embed (normal, inline, etc.)",
"type": "string"
}
},
"type": "object"
},
"geometry": {
"additionalProperties": false,
"description": "Updated dimensions of the embed",
"properties": {
"height": {
"description": "Updated height of the embed",
"type": "number"
},
"width": {
"description": "Updated width of the embed",
"type": "number"
}
},
"type": "object"
},
"itemId": {
"description": "Unique identifier (ID) of the embed that you want to update",
"type": "string"
},
"position": {
"additionalProperties": false,
"description": "Updated position of the embed on the board",
"properties": {
"origin": {
"description": "Origin of the embed (center, top-left, etc.)",
"type": "string"
},
"relativeTo": {
"description": "Reference point (canvas_center, etc.)",
"type": "string"
},
"x": {
"description": "Updated X coordinate of the embed",
"type": "number"
},
"y": {
"description": "Updated Y coordinate of the embed",
"type": "number"
}
},
"required": [
"x",
"y"
],
"type": "object"
}
},
"required": [
"boardId",
"itemId"
],
"type": "object"
}