create-image-item-using-url
Add an image to a Miro board using a URL. Specify the board ID, image URL, position, and dimensions to place the image accurately.
Instructions
Create a new image item on a Miro board using a URL
Input Schema
Name | Required | Description | Default |
---|---|---|---|
boardId | Yes | Unique identifier (ID) of the board where the image will be created | |
data | Yes | The content and configuration of the image | |
geometry | No | Dimensions of the image | |
position | Yes | Position of the image 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 image will be created",
"type": "string"
},
"data": {
"additionalProperties": false,
"description": "The content and configuration of the image",
"properties": {
"title": {
"description": "Title of the image",
"type": "string"
},
"url": {
"description": "URL of the image to be added to the board",
"type": "string"
}
},
"required": [
"url"
],
"type": "object"
},
"geometry": {
"additionalProperties": false,
"description": "Dimensions of the image",
"properties": {
"height": {
"description": "Height of the image",
"type": "number"
},
"width": {
"description": "Width of the image",
"type": "number"
}
},
"type": "object"
},
"position": {
"additionalProperties": false,
"description": "Position of the image on the board",
"properties": {
"origin": {
"description": "Origin of the image (center, top-left, etc.)",
"type": "string"
},
"relativeTo": {
"description": "Reference point (canvas_center, etc.)",
"type": "string"
},
"x": {
"description": "X coordinate of the image",
"type": "number"
},
"y": {
"description": "Y coordinate of the image",
"type": "number"
}
},
"required": [
"x",
"y"
],
"type": "object"
}
},
"required": [
"boardId",
"data",
"position"
],
"type": "object"
}