Tools
This is a reference catalogue. Tools cannot be configured or run from this page.
Fetch
LUCID_MCP_FETCHRetrieves the structured content of a specific Lucid document by its ID. Returns document content organized by pages, each containing spatial regions of diagram elements (flowcharts, ERDs, mind maps, etc.) with their properties. By default, returns the first page of the document. Use page_index to fetch a specific page. The response metadata includes page_count and page_region_counts so you know what pages and regions are available. For large pages with many regions, use region_index to fetch specific spatial regions instead of the entire page. Call with metadata_only=True first when you don't know the document's size — that returns page_count, page_region_counts, title, and edit_url without the content payload, so you can decide whether to fetch by page or by region before paying the size cost. If the response is too large, you MUST ask the user if they would like to fetch the document contents region by region. Args: id: Valid UUID of the document page_index: Optional 1-based page index. Defaults to 1 (first page). region_index: Optional list of 1-based indices selecting spatial regions within the requested page. Each page is independently chunked, so the valid range is 1 through the value in page_region_counts for that page. Pass multiple values (e.g. [1, 3, 5]) to fetch several regions in one call. Omit to fetch all regions on the page. metadata_only: When True, skip fetching content and return only document metadata (page_count, page_region_counts, title, edit_url). Use this to size up a document before deciding how to fetch it.
Get mcp resource
LUCID_MCP_GET_MCP_RESOURCEReads a resource from this MCP server by URI. When a tool description says to read a resource (e.g. "read lucid://skills/diagram-specification"), use this tool with that URI to retrieve the full content. Call with no arguments to list all available resources and their URIs. The "lucid://skills" resource lists all available skills. Args: resource_uri: The URI of the resource to read (e.g. "lucid://skills/diagram-specification"). Leave empty to list available resources.
List document thread comments
LUCID_MCP_LIST_DOCUMENT_THREAD_COMMENTSList comments on a specific collaboration thread of a Lucid document. Args: document_id: The UUID of the document. thread_id: The ID of the thread whose comments to fetch. Returns: JSON string of the Lucid API response (array of comment objects).
List document threads
LUCID_MCP_LIST_DOCUMENT_THREADSList collaboration threads on a Lucid document. Args: document_id: The UUID of the document. Returns: JSON string of the Lucid API response (array of thread objects).
Lucid export document as png
LUCID_MCP_LUCID_EXPORT_DOCUMENT_AS_PNGExports a Lucid document page as a PNG image. To crop the image, pass a bounding_box whose x, y, w, and h fields correspond directly to BoundingBox values returned by lucid_fetch. The box can describe one shape or a larger region containing multiple shapes.
Lucid fetch item image
LUCID_MCP_LUCID_FETCH_ITEM_IMAGEFetches the source image attached to a specific item in a Lucid document.
Lucid get document metadata
LUCID_MCP_LUCID_GET_DOCUMENT_METADATAGet metadata for a Lucid document. The requesting user must have at least read-only access to the document. Owner information is returned for unpublished documents when the requesting user has view access. For published documents, viewers receive account-level owner information; the individual user owner's ID is returned only when the requesting user is at least a collaborator. Args: document_id: UUID of the document to retrieve. Returns: JSON string containing the document's metadata, access details, location, classification, and owner information when authorized. Example: lucid_get_document_metadata( document_id="8fb1756d-d7f1-4f8c-933a-40e30fa5d102", )
Lucid list folder contents
LUCID_MCP_LUCID_LIST_FOLDER_CONTENTSList the documents and subfolders inside a Lucid folder. Pass `folder_id=None` (the default) to list the user's root folder. When more pages are available, the response includes a `nextPageToken`; pass it back as `page_token` to fetch the next page. Args: folder_id: Numeric folder ID, or omit/None for the root folder. page_size: Page size (1-200, default 50). page_token: Opaque cursor from a previous response's `nextPageToken` field. Returns: JSON string of the form `{"items": [...], "nextPageToken": "..."?}`. The underlying API returns items as a bare list and carries pagination in a `Link` header; this tool reshapes that into a single object. Example: lucid_list_folder_contents(folder_id=12345, page_size=100)
Lucid list integrations
LUCID_MCP_LUCID_LIST_INTEGRATIONSList the user's available card integrations and their connection status. Use this to find out which third-party integrations (e.g. Jira) the user is connected to before attempting any integration-backed action. Returns: A JSON array. Each entry describes one integration: { "integration": str, # e.g. "jira" "instances": [ {"instanceId": str, "name": str, "adapterType": str, "isConnected": bool} ] } Connection is tracked per instance: an instance with isConnected=false is authenticated but not fully connected (its live-sync isn't healthy). An integration with no instances, or no instance with isConnected=true, is not usable yet. In that case tell the user to connect it from the Lucid editor: open a document and use the integration/import panel. Do NOT attempt to authenticate on their behalf, and do NOT fabricate a connect link. # Jira specifics `adapterType` is one of "JiraCloud", "JiraDataCenter", or "JiraGovCloud".
Lucid search document
LUCID_MCP_LUCID_SEARCH_DOCUMENTLocates regions of a Lucid document that contain specific text. Use this BEFORE `fetch` when you're looking for content you can describe with specific words or phrases — it tells you which (pageIndex, regionIndex) pairs contain matches so you can then `fetch` only those regions instead of paging through the whole document. Matching is case-insensitive substring over each region's TextAreas content (shape labels, sticky-note text, etc.). It does NOT match against notes, tags, links, colors, or other metadata. Returns a JSON object of the form: { "matches": { "<query>": [ {"pageIndex": 1, "regionIndex": 3, "context": ["Q3 KPI Tracking"]}, ... ], "<otherQuery>": [] }, "title": "..." } Every query you pass appears as a key in `matches`, even when it has no hits — so you can rely on `matches[query]` without first checking presence. `pageIndex` and `regionIndex` are 1-based and can be passed directly to `fetch` as `page_index` and `region_index`. Args: id: Valid UUID of the document. queries: Non-empty list of literal search terms (1-20 items, each at most 200 characters). Each query is matched independently as a case-insensitive substring; the response groups hits by query.
Lucid shape details
LUCID_MCP_LUCID_SHAPE_DETAILSGet default size, colors, and advanced/text-area properties for one or more shape classes. Use this tool after lucid_shape_library has narrowed to candidate class names. The returned details (default fill/line colors, default size, advanced property descriptors, and text-area names) tell you which optional fields lucid_add_block and lucid_edit_item can sensibly omit (defaults applied) versus which named text areas the shape supports. Unknown class names produce a per-shape error in the response rather than failing the whole call. Args: document_id: UUID of the document context (so libraries scoped to that product and the user's custom libraries are available for lookup). class_names: List of shape class names to inspect (e.g. "StickiesStickyNoteBlock"). Returns: JSON string from the underlying tool (success/result envelope).
Lucid shape library
LUCID_MCP_LUCID_SHAPE_LIBRARYDiscover shapes/blocks available to INSERT into a Lucid document. This does NOT find documents or text inside a document. To find a document by name use `search`; to find text within one open document use `lucid_search_document`. Only use this tool when the user wants a shape to add to a diagram. Use this tool to find valid block class names before calling lucid_add_block or lucid_edit_item on an existing document; hallucinating class names will produce 400 errors and this tool returns the canonical list. Note: this requires a document_id and operates on an existing document, so it cannot pre-validate class names for lucid_create_diagram_from_specification (which creates a new document) — for that flow, use the lucid://skills/diagram-specification resource as the canonical shape reference. Modes (all driven by the same call): - No params: lists every visible shape library by id and name. - libraryId only: lists groups (folders) within that library, with shapes inlined when the library has a single group. - libraryId + groupIds: returns the shapes within the specified groups. - searchTerm: searches across libraries (or within libraryId if also provided) and returns matching shapes. Cannot be combined with groupIds. The no-param library listing is paginated: when the response includes a NextPageToken, pass it back as page_token to fetch the next page of libraries. After narrowing to a candidate shape, call lucid_shape_details with its className to get default size/colors and any custom properties before passing it to add/create tools. Args: document_id: UUID of the document context (libraries available depend on product and the user's allow-listed libraries). search_term: Optional free-text query against shape names and keywords. library_id: Optional library identifier from a previous response. group_ids: Optional list of group identifiers within library_id; only valid when library_id is also provided (groups belong to a specific library). page_token: Optional pagination cursor; pass the NextPageToken from a previous no-param listing response to fetch the next page of libraries. Returns: JSON string from the underlying tool (success/result envelope).
Search
LUCID_MCP_SEARCHSearch the user's Lucid account for documents by title/keyword. This is the default tool for a generic "search for X" request. Use it unless the user explicitly wants shapes to insert (`lucid_shape_library`) or text inside a document (`lucid_search_document`). If it is ambiguous which of the three the user means, ask before searching. Args: query: String containing space-separated keywords to be searched for (max 400 characters) product: Optional list of product types to filter by. Valid values: "lucidchart", "lucidspark", "lucidscale" created_start_time: Optional ISO 8601 timestamp to filter documents created after this time (e.g., "2024-01-01T00:00:00Z") created_end_time: Optional ISO 8601 timestamp to filter documents created before this time (e.g., "2024-12-31T23:59:59Z") last_modified_after: Optional ISO 8601 timestamp to filter documents modified after this time (e.g., "2024-01-01T00:00:00Z") owned_by_me: Optional. When true, only return documents you own. Note: ownership can change when a document is moved out of a team folder or transferred to another user, so this reflects current ownership rather than original authorship. Returns: Search results with document titles, IDs, URLs, and parent folder IDs, sorted by relevance. Returns up to 200 results (API maximum).