> ## Documentation Index
> Fetch the complete documentation index at: https://veryfront.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Figma design

> Read a Figma file or one of its nodes as structured text when importing a design into a project; returns YAML design data, cut with a note when it is over 100,000 characters, or the frame list to choose from for a section with several frames.

`veryfront__get_figma_design`

Requires project.read.

## Access

No external-service connection is required. Use a Veryfront credential with access to the requested resources.

**Call type:** Read-only.

## Arguments

| Field | Type | Required | Description and constraints |
| - | - | - | - |
| `project_reference` | `string` | No | Project ID or slug |
| `figma_url` | `string` | Yes | Figma file URL or file key (e.g., "[https://www.figma.com/design/ABC123/](https://www.figma.com/design/ABC123/)...") |
| `node_id` | `string` | No | Specific node/frame ID (overrides node-id from URL) |
| `depth` | `number` | No | Max tree depth to traverse (default: 10 for specific nodes, 2 for full files) |

## Example request

Send this JSON-RPC request through an initialized MCP client. Replace sample identifiers and values before calling the tool. See [MCP client setup](/docs/cloud/getting-started/connect-mcp.md).

```json title="request.json" theme={null}
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "veryfront__get_figma_design",
    "arguments": {
      "figma_url": "example"
    }
  }
}
```

## Result

The published output shape is summarized below. Inspect both the MCP response content and `isError` when handling a call.

| Field | Type | Required | Description and constraints |
| - | - | - | - |
| `content` | `object[]` | Yes | Source content or body returned by the tool. |

## Full schemas

```json title="input-schema.json" theme={null}
{
  "type": "object",
  "properties": {
    "project_reference": {
      "type": "string",
      "description": "Project ID or slug"
    },
    "figma_url": {
      "type": "string",
      "description": "Figma file URL or file key (e.g., \"https://www.figma.com/design/ABC123/...\")"
    },
    "node_id": {
      "type": "string",
      "description": "Specific node/frame ID (overrides node-id from URL)"
    },
    "depth": {
      "type": "number",
      "description": "Max tree depth to traverse (default: 10 for specific nodes, 2 for full files)"
    }
  },
  "required": [
    "figma_url"
  ],
  "additionalProperties": false,
  "description": "Arguments for the get_figma_design tool.",
  "$schema": "http://json-schema.org/draft-07/schema#"
}
```

```json title="output-schema.json" theme={null}
{
  "type": "object",
  "properties": {
    "content": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "type": {
            "type": "string",
            "const": "text"
          },
          "text": {
            "type": "string",
            "description": "YAML design context or frame selection guidance."
          }
        },
        "required": [
          "type",
          "text"
        ],
        "additionalProperties": false
      },
      "description": "Source content or body returned by the tool."
    }
  },
  "required": [
    "content"
  ],
  "additionalProperties": false,
  "description": "Structured result returned by the get_figma_design tool.",
  "$schema": "http://json-schema.org/draft-07/schema#"
}
```

<details>
  <summary>Try this tool</summary>

  Replace sample arguments with values for your project or connected account. Calls run only when you select Run tool.

  MCP tool call

  Call `veryfront__get_figma_design` against the Veryfront MCP endpoint.

  Bearer token or API key

  Arguments (JSON)

  Run tool

  Output JSON

  <pre />
</details>


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.