> Dea 0.9.9 documentation.
> Canonical page: https://dea.dardanica.app/docs/reference/tools/figma-match/
> Documentation index: https://dea.dardanica.app/llms.txt

# 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

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `url` | string | No | Figma file URL; defaults to the Figma file open in a tab |
| `page` | string | No | Only frames on this Figma page (by name); default all pages |
| `pages` | array of string | Yes | Your app's pages: http/https/file addresses, or names/ids of open tabs minItems: 1; maxItems: 40 |
| `save` | boolean | No | Save the pairs in the design map (default true when a project is known) |
| `project_dir` | string | No | Your app's folder, where .dea/design-map.json lives; defaults to the current Dea project |
| `tab` | string | No | Tab 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
}
```


## Related documentation

[Reference conventions](https://dea.dardanica.app/docs/reference/) · [Agent operating guide](https://dea.dardanica.app/docs/agents/) · [Troubleshooting](https://dea.dardanica.app/docs/troubleshooting/)
