> This page is for Workforce.

> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.merge.dev/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.merge.dev/_mcp/server.

# Lucidchart

**Authentication:** OAuth or API key. See [Magic Link](/merge-agent-handler/features/magic-link) for the runtime auth flow, or [Application credentials](/merge-agent-handler/admin-setup/add-oauth-credentials) to bring your own OAuth app.

## Sample use cases

* List documents in the `Architecture` folder modified in the last 7 days.
* Generate a sequence diagram from this flow description and save it under `Engineering / Diagrams`.
* Find documents shared externally in the last 30 days for security review.

## Available Tools

#### get_document_user_collaborator

Get a specific user's collaboration details on a document, including their role.

#### remove_document_user_collaborator

Remove a user's access to a document. This revokes all their permissions on the document.

#### list_document_user_collaborators

List all user collaborators on a document with their roles. Supports pagination via cursor.

#### get_folder_user_collaborator

Get a specific user's collaboration details on a folder, including their role.

#### remove_folder_user_collaborator

Remove a user's access to a folder. This revokes all their permissions on the folder.

#### list_folder_user_collaborators

List all user collaborators on a folder with their roles. Supports pagination via cursor.

#### create_document

Create a new Lucid document. Specify the product type (lucidchart, lucidspark, or lucidscale) and optional parent...

#### get_document

Get a document by its UUID. Returns document metadata including title, URLs, version, page count, and owner info.

#### get_document_contents

Get the full contents of a document including all pages, shapes, lines, and groups. Useful for reading diagram content.

#### search_documents

Search for documents by product type, keywords, creation date, or last modified date. Supports pagination via cursor.

#### trash_document

Move a document to the trash by its UUID. The document can be restored by an admin.

#### export_document

Export a document page as a PNG or JPEG image. Returns base64-encoded image data. Optionally specify page, crop area...

#### create_folder

Create a new folder in Lucid. Specify the folder name, type (folder or team), and optional parent folder ID.

#### get_folder

Get a folder by its ID. Returns folder metadata including name, type, parent, and creation date.

#### update_folder

Update a folder's name or parent. Provide the folder ID and the fields to update.

#### trash_folder

Move a folder to the trash by its ID. The folder can be restored later.

#### restore_folder

Restore a folder from trash by its ID.

#### search_folders

Search for folders by type and keywords. Supports pagination via cursor. Use cursor from page_info for next page.

#### list_folder_contents

List the contents of a folder (documents, subfolders). Supports pagination via cursor.

#### list_root_folder_contents

List the contents of the root folder. Returns documents and folders at the top level. Supports pagination.

#### create_document_share_link

Create a share link for a document. Specify the role (editandshare, edit, comment, view) and optional security settings.

#### get_document_share_link

Get a specific share link for a document by its link ID.

#### update_document_share_link

Update a document share link's role or security settings.

#### delete_document_share_link

Delete a share link from a document, revoking access for anyone who has it.

#### create_folder_share_link

Create a share link for a folder. Specify the role (editandshare, edit, comment, view) and optional security settings.

#### get_folder_share_link

Get a specific share link for a folder by its link ID.

#### update_folder_share_link

Update a folder share link's role or security settings.

#### delete_folder_share_link

Delete a share link from a folder, revoking access for anyone who has it.

#### get_current_user

Get the profile of the currently authenticated user, including account ID, username, email, and full name.