create-document-item
Add a document to a Miro board by specifying its URL, title, position, and dimensions for organized collaboration and visualization.
Instructions
Create a new document item on a Miro board
Input Schema
Name | Required | Description | Default |
---|---|---|---|
boardId | Yes | Unique identifier (ID) of the board where the document will be created | |
data | Yes | The content and configuration of the document | |
geometry | No | Dimensions of the document | |
position | Yes | Position of the document 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 where the document will be created",
"type": "string"
},
"data": {
"additionalProperties": false,
"description": "The content and configuration of the document",
"properties": {
"title": {
"description": "Title of the document",
"type": "string"
},
"url": {
"description": "URL of the document to be added to the board",
"type": "string"
}
},
"required": [
"url"
],
"type": "object"
},
"geometry": {
"additionalProperties": false,
"description": "Dimensions of the document",
"properties": {
"height": {
"description": "Height of the document",
"type": "number"
},
"width": {
"description": "Width of the document",
"type": "number"
}
},
"type": "object"
},
"position": {
"additionalProperties": false,
"description": "Position of the document on the board",
"properties": {
"x": {
"description": "X coordinate of the document",
"type": "number"
},
"y": {
"description": "Y coordinate of the document",
"type": "number"
}
},
"required": [
"x",
"y"
],
"type": "object"
}
},
"required": [
"boardId",
"data",
"position"
],
"type": "object"
}