replace_doc
Replaces a Miro document's content by deleting and recreating it when no REST update endpoint exists, preserving position, geometry, parent, and content type; requires confirm=true.
Instructions
Replace a doc's content — implemented as read + delete + create because REST has no doc update endpoint.
The new doc gets a NEW item id; the old id stops existing. Preserves
position, geometry, parent and content type (unless overridden).
Requires confirm=true.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"board_id": "<board_id>",
"item_id": "<item_id>",
"content": "<content>"
},
"name": "replace_doc"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | ||
| content | Yes | ||
| item_id | Yes | ||
| board_id | Yes | ||
| content_type | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |