Skip to main content
Glama

miro_update_document_from_file

Replace the file on an existing Miro document item with a new local file while preserving the item's identity. Use to update PDFs, presentations, spreadsheets, and other documents without creating new items.

Instructions

Replace the file on an existing document item with a new local document file.

USE WHEN: User says "replace this document", "update the PDF", "swap the file on this document". Use this to change the file on an existing document item without creating a new one. For updating metadata only (title, position), use miro_update_document instead.

PARAMETERS:

  • board_id: Required

  • item_id: Required. The existing document item to update.

  • file_path: Absolute path to the new document file (required). Supports: pdf, doc, docx, ppt, pptx, xls, xlsx, txt, rtf, csv. Max 6 MB.

  • title: New document title

  • x, y: New position

  • parent_id: Frame ID to move document into

NOTE: The item must already exist as a document. The file must exist on the local filesystem.

RELATED: To create a new document from file, use miro_upload_document. To update metadata only, use miro_update_document.

VOICE-FRIENDLY: "Replaced document file on item"

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
board_idYesBoard ID
item_idYesDocument item ID to update
file_pathYesAbsolute path to the new document file on disk
titleNoNew document title
xNoNew X position
yNoNew Y position
parent_idNoFrame ID to move document into
Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/olgasafonova/miro-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server