Tools
This is a reference catalogue. Tools cannot be configured or run from this page.
Export diagram
ERASER_MCP_EXPORT_DIAGRAMRender a canvas diagram to PNG or JPEG and return a temporary image URL. Tell the user to download it from the returned imageUrl. Set format: "drawio" instead to export an editable draw.io (diagrams.net) document — that returns fileUrl rather than imageUrl; download it and save it with a .drawio extension. draw.io export requires a paid plan; on a free team it returns an upgrade error, so fall back to png/jpeg.
Export document
ERASER_MCP_EXPORT_DOCUMENTExport a file's markdown document body as a downloadable artifact.
Export file
ERASER_MCP_EXPORT_FILEReturns the Eraser file URL for PDF export. NOTE: programmatic PDF export is not yet available via MCP — this returns a link for the user to export from the Eraser app's export menu, not a downloadable PDF. For a diagram image, use export_diagram; for the document body as markdown, use export_document.
Get diagram
ERASER_MCP_GET_DIAGRAMFetch a diagram's metadata and DSL/JSON code. For freeform diagrams, set includeFreeformDefinition: true to get the full scene structure (elements, connections, titles). Need a PNG image of the diagram? Use export_diagram instead.
Get document
ERASER_MCP_GET_DOCUMENTFetch the full markdown body of a file's document.
Get file
ERASER_MCP_GET_FILEFetch a file's metadata, document outline (headers), and the list of diagrams in it.
Get folder
ERASER_MCP_GET_FOLDERFetch a folder by id.
Get me
ERASER_MCP_GET_MEFetch the current user, active team, and team memberships.
Get preset
ERASER_MCP_GET_PRESETFetch a preset including its rules, templates, and references.
Get template or reference
ERASER_MCP_GET_TEMPLATE_OR_REFERENCEFetch a template/reference's metadata, document outline, and diagram list.
List diagrams
ERASER_MCP_LIST_DIAGRAMSList the diagrams contained in a file.
List files
ERASER_MCP_LIST_FILESList files in the team workspace, optionally scoped to a folder.
List folders
ERASER_MCP_LIST_FOLDERSList folders. Pass `parentFolderId` to scope to direct children of a folder (or `null` for top-level only). Pass `nameContains` to resolve a folder the user names by string (e.g. 'the Engineering folder') without paging through the entire tree. Combining the two narrows further (e.g. top-level folders containing 'eng').
List presets
ERASER_MCP_LIST_PRESETSList the team's presets. Pass `nameContains` to resolve a preset the user names by string (e.g. 'the Marketing preset') without scanning the full list — much cheaper in context tokens.
List teams
ERASER_MCP_LIST_TEAMSList the teams the current user belongs to (OAuth only).
Search
ERASER_MCP_SEARCHFull-text and semantic search across files or diagrams. Omit 'kind' for content search (finds matching blocks). Use kind: 'file' only to look up a file by name (no block content returned). Use kind: 'diagram' to search within diagram code/titles.