update-text-item
Modify text content, position, dimensions, and style of an existing text item on a Miro board by specifying its board and item IDs.
Instructions
Update an existing text item on a Miro board
Input Schema
Name | Required | Description | Default |
---|---|---|---|
boardId | Yes | Unique identifier (ID) of the board that contains the text item | |
data | No | The updated content of the text item | |
geometry | No | Updated dimensions of the text item | |
itemId | Yes | Unique identifier (ID) of the text item that you want to update | |
position | No | Updated position of the text item on the board | |
style | No | Updated style configuration of the text item |
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 text item",
"type": "string"
},
"data": {
"additionalProperties": false,
"description": "The updated content of the text item",
"properties": {
"content": {
"description": "Updated text content of the text item",
"type": "string"
}
},
"type": "object"
},
"geometry": {
"additionalProperties": false,
"description": "Updated dimensions of the text item",
"properties": {
"width": {
"description": "Updated width of the text item",
"type": "number"
}
},
"type": "object"
},
"itemId": {
"description": "Unique identifier (ID) of the text item that you want to update",
"type": "string"
},
"position": {
"additionalProperties": false,
"description": "Updated position of the text item on the board",
"properties": {
"x": {
"description": "Updated X coordinate of the text item",
"type": "number"
},
"y": {
"description": "Updated Y coordinate of the text item",
"type": "number"
}
},
"type": "object"
},
"style": {
"additionalProperties": false,
"description": "Updated style configuration of the text item",
"properties": {
"color": {
"description": "Updated color of the text",
"type": "string"
},
"fontSize": {
"description": "Updated font size of the text",
"type": "number"
},
"textAlign": {
"description": "Updated alignment of the text (left, center, right)",
"type": "string"
}
},
"type": "object"
}
},
"required": [
"boardId",
"itemId"
],
"type": "object"
}