Dea DardanicaDocumentation
Figma and designRead Markdown

figma_match

Pair each screen of a Figma file with the page of your app that implements it, and list what is missing on each side. Open the Figma file in a Dea tab first. pages are your app's pages: addresses (loaded in background tabs that are never shown and closed afterwards) or names/ids of open tabs. Each Figma frame's name and texts are compared with each page's title, path, headings, button/link labels and visible text, by text overlap and by Jev. Returns pairs (frame, our page, Jev probability, overlap, verdict confident|check), figma_only (designed, not built) and ours_only (built, not in Figma). Without a TypeSafe key it matches by text overlap only. The pairs are saved in the project's design map (see design_map) unless save is false.

Example#

Call this MCP tool with the argument object below. Replace illustrative IDs, selectors, local paths, and project URLs with values observed in your session.

json
{
  "pages": [
    "http://localhost:3000/login"
  ],
  "save": false
}

Usage notes#

Open the editable Figma file first and substitute real app URLs or tab names. Review uncertain matches; optional TypeSafe judgments can be unavailable.

Result#

Returns matched frame/page pairs and unmatched screens on either side, with confidence/overlap information. May save the project design map unless save:false.

Results arrive in MCP content blocks. Most structured results are JSON in text blocks; image tools can include image blocks. Handle errors and partial or truncated data. No formal output schema is declared for this tool.

Parameters#

figma_match — table 1
ParameterTypeRequiredDescription
urlstringNoFigma file URL; defaults to the Figma file open in a tab
pagestringNoOnly frames on this Figma page (by name); default all pages
pagesarray of stringYesYour app's pages: http/https/file addresses, or names/ids of open tabs minItems: 1; maxItems: 40
savebooleanNoSave the pairs in the design map (default true when a project is known)
project_dirstringNoYour app's folder, where .dea/design-map.json lives; defaults to the current Dea project
tabstringNoTab name or id in your workspace; does not change the visible tab. minLength: 1

Full input schema#

The schema includes nested shapes and constraints. Additional semantic constraints can apply at runtime; read the description and usage notes.

json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "url": {
      "description": "Figma file URL; defaults to the Figma file open in a tab",
      "type": "string",
      "format": "uri"
    },
    "page": {
      "description": "Only frames on this Figma page (by name); default all pages",
      "type": "string"
    },
    "pages": {
      "minItems": 1,
      "maxItems": 40,
      "type": "array",
      "items": {
        "type": "string",
        "minLength": 1
      },
      "description": "Your app's pages: http/https/file addresses, or names/ids of open tabs"
    },
    "save": {
      "description": "Save the pairs in the design map (default true when a project is known)",
      "type": "boolean"
    },
    "project_dir": {
      "description": "Your app's folder, where .dea/design-map.json lives; defaults to the current Dea project",
      "type": "string"
    },
    "tab": {
      "description": "Tab name or id in your workspace; does not change the visible tab.",
      "type": "string",
      "minLength": 1
    }
  },
  "required": [
    "pages"
  ],
  "additionalProperties": false
}

Reference conventions · Agent operating guide · Troubleshooting