> **Building with AI coding agents?** Install the authstack plugin with one command. This equips your agent with accurate Scalekit implementation patterns.
>
> **Recommended** (the `-y` flags skip prompts, so the command runs without an interactive terminal):
> ```bash
> npx -y @scalekit-inc/cli setup -y
> ```
>
> Global:
> ```bash
> npm install -g @scalekit-inc/cli
> scalekit setup -y
> ```
>
> Supports Claude Code, Cursor, GitHub Copilot, Codex + skills for other Agent Skills-compatible agents in `~/.agents/skills`.
> Skills: integrate-agentkit, implement-saaskit, add-mcp-oauth, implement-sso, implement-scim.
> [Full setup guide](https://docs.scalekit.com/dev-kit/build-with-ai/)

---

# Connect AI agents to Figma

The Figma connector lets your AI agent act in each user's Figma account. Each user signs in to Figma once, and Scalekit stores and refreshes their tokens, so your agent never handles credentials. It comes with 54 tools.

**Authentication:** OAuth 2.0
**Categories:** Design, Collaboration
**Tools:** 54: 43 read, 7 write, 4 destructive
**Users sign in with:** OAuth
**OAuth app:** Your own Figma app
**Built by:** Scalekit connector
**Try it:** [Playground in the Scalekit dashboard](https://app.scalekit.com/ws/signup?sk_intent=playground&provider=FIGMA)

## Setup

1. ### Install the SDK

   **Node.js**

   ```bash
   npm install @scalekit-sdk/node dotenv
   ```

   **Python**

   ```bash
   pip install scalekit-sdk-python python-dotenv
   ```

2. ### Set your credentials

   Add your Scalekit credentials to your `.env` file. Find values in **[app.scalekit.com](https://app.scalekit.com)** > **Developers** > **API Credentials**.

   ```sh title=".env"
   SCALEKIT_ENVIRONMENT_URL=<your-environment-url>
   SCALEKIT_CLIENT_ID=<your-client-id>
   SCALEKIT_CLIENT_SECRET=<your-client-secret>
   ```

3. ### Create the Figma connection

   In **AgentKit > Connections**, create a Figma connection and copy its redirect URI. The name you give it is the `connection_name` your code passes. See [Configure connections](/agentkit/connections/).

4. ### Register an OAuth app

   Figma connections use your own OAuth app. Register one with Figma and add the redirect URI you copied.

   Then enter the app's Client ID and Client Secret on the Figma connection.

   **Console steps with screenshots:**

   Register your Figma app credentials with Scalekit so it can manage the OAuth 2.0 authentication flow and token lifecycle on your behalf. You'll need a Client ID and Client Secret from the [Figma Developers portal](https://www.figma.com/developers).

   1. ### Create a Figma connection in Scalekit

      - In [Scalekit dashboard](https://app.scalekit.com), go to **AgentKit** > **Connections** > **Create Connection**. Search for **Figma** and click **Create**.

        > Image: Search for Figma and create a new connection

      - In the **Configure Figma Connection** panel, copy the **Redirect URI**. It looks like `https://<SCALEKIT_ENVIRONMENT_URL>/sso/v1/oauth/<CONNECTION_ID>/callback`. You'll paste this into Figma in the next step.

        > Image: Copy the Redirect URI from the Configure Figma Connection panel

   2. ### Create an app in the Figma Developers portal

      - Go to the [Figma Developers portal](https://www.figma.com/developers/apps) and sign in. Click **+ Create a new app**.

        > Image: Figma Developers portal showing the My apps list and Create a new app button

      - Fill in your app name and description, then click **Save**.

   3. ### Add the redirect URI and copy credentials

      - Open your app and click the **OAuth credentials** tab.

      - Under **Redirect URLs**, click **Add a redirect URL** and paste the Redirect URI you copied from Scalekit.

      - Copy the **Client ID** from the same tab.

      - Copy the **Client Secret**. Store it securely — never commit it to source control.

        > Image: Figma app OAuth credentials tab showing Client ID, Client Secret, and Redirect URLs

      > caution: Client secret is shown once
      >
      > The Client Secret is masked after the initial creation. If you lose it, you must generate a new one in the Figma app settings.

   4. ### Add credentials in Scalekit

      - In [Scalekit dashboard](https://app.scalekit.com), go to **AgentKit** > **Connections** and open the Figma connection you created.

      - Enter your credentials:
        - **Client ID** — from the Figma OAuth credentials tab
        - **Client Secret** — copied in the previous step
        - **Scopes** — select the permissions your app needs:
          - `files:read` — read files, nodes, images, components, and styles
          - `file_variables:read` — read local and published variables
          - `file_variables:write` — create, update, and delete variables
          - `webhooks:write` — create, update, and delete team webhooks

        > Image: Scalekit Figma connection with Client ID, Client Secret, and scopes filled in

      - Click **Save**.

5. ### Authorize a user and make your first call

   **Node.js** (`quickstart.mts`)

   ```typescript
   import { ScalekitClient } from '@scalekit-sdk/node'
   import 'dotenv/config'
   import { createInterface } from 'node:readline/promises'

   const scalekit = new ScalekitClient(
     process.env.SCALEKIT_ENVIRONMENT_URL,
     process.env.SCALEKIT_CLIENT_ID,
     process.env.SCALEKIT_CLIENT_SECRET,
   )
   const actions = scalekit.actions

   const connector = 'figma'
   const identifier = 'user_123'

   // Generate an authorization link for the user
   const { link } = await actions.getAuthorizationLink({ connectionName: connector, identifier })
   console.log('Authorize Figma:', link)
   const rl = createInterface({ input: process.stdin, output: process.stdout })
   await rl.question('Press Enter after authorizing...')
   rl.close()

   // Make your first call
   const result = await actions.executeTool({
     connector,
     identifier,
     toolName: 'figma_activity_logs_list',
     toolInput: {},
   })
   console.log(result)
   ```

   ```bash
   npx tsx quickstart.mts
   ```

   **Python** (`quickstart.py`)

   ```python
   import os
   from scalekit import ScalekitClient
   from dotenv import load_dotenv
   load_dotenv()

   scalekit_client = ScalekitClient(
       env_url=os.getenv("SCALEKIT_ENVIRONMENT_URL"),
       client_id=os.getenv("SCALEKIT_CLIENT_ID"),
       client_secret=os.getenv("SCALEKIT_CLIENT_SECRET"),
   )
   actions = scalekit_client.actions

   connection_name = "figma"
   identifier = "user_123"

   # Generate an authorization link for the user
   link_response = actions.get_authorization_link(
       connection_name=connection_name,
       identifier=identifier,
   )
   print("Authorize Figma:", link_response.link)
   input("Press Enter after authorizing...")

   # Make your first call
   result = actions.execute_tool(
       tool_input={},
       tool_name="figma_activity_logs_list",
       connection_name=connection_name,
       identifier=identifier,
   )
   print(result)
   ```

   ```bash
   python quickstart.py
   ```

   Each user signs in once. See [Authorize a user](/agentkit/tools/authorize/) for the full flow and statuses.

## Tools

Pass the exact name to `execute_tool`, with an input like each tool's example. To ask for a tool that's missing, use the [request form](https://scalekitsupport.portal.usepylon.com/forms/request-a-connector-tool).

**Node.js**

```typescript
const result = await actions.executeTool({
  toolName: 'figma_activity_logs_list',
  toolInput: {},
  connector: 'figma',
  identifier: 'user_123',
})
```

**Python**

```python
result = actions.execute_tool(
    tool_name="figma_activity_logs_list",
    tool_input={},
    connection_name="figma",
    identifier="user_123",
)
```

`result.data` is the app's response as JSON, and `result.execution_id` (`executionId` in Node.js) is the ID of the call.

### `figma_activity_logs_list`

List Activity Logs · Read-only

Returns activity log events for an organization (Enterprise only). Includes events for file edits, permissions changes, and user actions.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `cursor` (`string`, optional): Pagination cursor from the previous response to fetch the next batch of events.
- `end_time` (`integer`, optional): Unix timestamp (seconds) to stop fetching events at.
- `events` (`string`, optional): Comma-separated event types to filter. All returned by default.
- `limit` (`integer`, optional): Maximum number of events to return (1-1000, default 100).
- `order` (`string`, optional): Sort order: asc or desc by timestamp. Default is desc.
- `start_time` (`integer`, optional): Unix timestamp (seconds) to start fetching events from.

Example input: `{}`

### `figma_ai_usage_daily_get`

Get Daily AI Usage · Read-only

Return per-user, per-day AI credit usage for the plan associated with the calling token (Enterprise orgs). Requires a plan access token with the org:ai_metering_usage_read scope.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `end_date` (`string`, required): End of the date range (YYYY-MM-DD), required
- `start_date` (`string`, required): Start of the date range (YYYY-MM-DD), required
- `cursor` (`string`, optional): Pagination cursor from a previous response
- `limit` (`integer`, optional): Maximum number of results to return (1-1000, default 1000)
- `user_email` (`string`, optional): Filter results to a single user's email

Example input: `{"end_date":"<end_date>","start_date":"<start_date>"}`

### `figma_comment_reactions_list`

List Comment Reactions · Read-only

Returns a list of emoji reactions on a specific comment in a Figma file.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `comment_id` (`string`, required): The ID of the comment to get reactions for.
- `file_key` (`string`, required): The unique key of the Figma file.
- `cursor` (`string`, optional): Pagination cursor for next page of results.

Example input: `{"comment_id":"<comment_id>","file_key":"<file_key>"}`

### `figma_component_get`

Get Component · Read-only

Returns metadata for a published component by its key, including name, description, thumbnail, and containing file information.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `key` (`string`, required): The unique key of the component.

Example input: `{"key":"<key>"}`

### `figma_component_set_get`

Get Component Set · Read-only

Returns metadata for a published component set (a group of related component variants) by its key.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `key` (`string`, required): The unique key of the component set.

Example input: `{"key":"<key>"}`

### `figma_dev_resources_list`

List Dev Resources · Read-only

Returns dev resources (links to external tools like Storybook, Jira, etc.) attached to nodes in a Figma file.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `file_key` (`string`, required): The key of the Figma file to get dev resources for.
- `node_ids` (`string`, optional): Comma-separated node IDs to filter by. Omit to return all dev resources in the file.

Example input: `{"file_key":"<file_key>"}`

### `figma_developer_logs_list`

List Developer Logs · Read-only

Return developer log entries for REST API and MCP server requests made within the organization, optionally filtered by token type/value, user email, IP address, or event source. Requires a plan access token with the org:developer_log_read scope. Complements figma_activity_logs_list, which covers design/file activity rather than API usage.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `event_source` (`string`, optional): Filter by event source
- `ip_address` (`string`, optional): Filter by IP address prefix(es), comma-separated
- `token` (`string`, optional): Filter by token value(s), comma-separated
- `token_name` (`string`, optional): Filter by token name prefix(es), comma-separated
- `token_type` (`string`, optional): Filter by the type of token used for authentication. One of: `plan_access_token`, `developer_token`, `oauth_token`.
- `user_email` (`string`, optional): Filter by user email prefix(es), comma-separated

Example input: `{}`

### `figma_file_comments_list`

List File Comments · Read-only

Returns all comments left on a Figma file, including their text, author, position, and resolved status.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `file_key` (`string`, required): The unique key of the Figma file.
- `as_md` (`boolean`, optional): If true, returns comment text as Markdown.

Example input: `{"file_key":"<file_key>"}`

### `figma_file_component_sets_list`

List File Component Sets · Read-only

Returns all published component sets in a Figma file.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `file_key` (`string`, required): The unique key of the Figma file.

Example input: `{"file_key":"<file_key>"}`

### `figma_file_components_list`

List File Components · Read-only

Returns a list of all published components in a Figma file, including their keys, names, descriptions, and thumbnails.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `file_key` (`string`, required): The unique key of the Figma file.

Example input: `{"file_key":"<file_key>"}`

### `figma_file_get`

Get File · Read-only

Returns a Figma file's full document tree including all nodes, components, styles, and metadata.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `file_key` (`string`, required): The unique key of the Figma file (found in the file URL).
- `branch_data` (`boolean`, optional): Include data on branches of the file.
- `depth` (`integer`, optional): Depth of the document tree to return (1-4). Lower depth returns faster.
- `geometry` (`string`, optional): Set to "paths" to export vector path data.
- `ids` (`string`, optional): Comma-separated node IDs to fetch.
- `plugin_data` (`string`, optional): Plugin IDs to return plugin data for.
- `version` (`string`, optional): A specific version ID to get. Omit to get the current version.

Example input: `{"file_key":"<file_key>"}`

### `figma_file_image_fills_get`

Get File Image Fills · Read-only

Returns download URLs for all image fills used in a Figma file. Image fills are images that have been applied as fills to nodes.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `file_key` (`string`, required): The unique key of the Figma file.

Example input: `{"file_key":"<file_key>"}`

### `figma_file_images_render`

Render File Images · Read-only

Renders nodes from a Figma file as images (PNG, JPG, SVG, or PDF) and returns URLs to download them.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `file_key` (`string`, required): The unique key of the Figma file.
- `ids` (`string`, required): Comma-separated list of node IDs to render.
- `contents_only` (`boolean`, optional): Render only node contents without background.
- `format` (`string`, optional): Image format: jpg, png, svg, or pdf. Default is png.
- `scale` (`number`, optional): Image scale factor (0.01 to 4). Default is 1.
- `svg_include_id` (`boolean`, optional): Include id attributes on SVG elements.
- `svg_include_node_id` (`boolean`, optional): Include node_id attributes on SVG elements.
- `svg_outline_text` (`boolean`, optional): Outline all text in SVG output.
- `svg_simplify_stroke` (`boolean`, optional): Simplify stroke operations in SVG output.
- `use_absolute_bounds` (`boolean`, optional): Use absolute bounding box for rendering.
- `version` (`string`, optional): A specific version ID to render from.

Example input: `{"file_key":"<file_key>","ids":"<ids>"}`

### `figma_file_meta_get`

Get File Metadata · Read-only

Get lightweight metadata for a Figma file (name, last modified time, thumbnail, editor type, folder/project info) without fetching the full document tree. Use figma_file_get when you need the actual design content.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `file_key` (`string`, required): The key of the file to retrieve metadata for

Example input: `{"file_key":"<file_key>"}`

### `figma_file_nodes_get`

Get File Nodes · Read-only

Returns specific nodes from a Figma file by their node IDs, along with their children and associated styles and components.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `file_key` (`string`, required): The unique key of the Figma file.
- `ids` (`string`, required): Comma-separated list of node IDs to retrieve.
- `depth` (`integer`, optional): Depth of the document tree to return for each node.
- `geometry` (`string`, optional): Set to "paths" to export vector path data.
- `plugin_data` (`string`, optional): Plugin IDs to return plugin data for.
- `version` (`string`, optional): A specific version ID to fetch nodes from.

Example input: `{"file_key":"<file_key>","ids":"<ids>"}`

### `figma_file_styles_list`

List File Styles · Read-only

Returns all published styles in a Figma file, including color, text, effect, and grid styles.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `file_key` (`string`, required): The unique key of the Figma file.

Example input: `{"file_key":"<file_key>"}`

### `figma_file_variables_local_get`

Get File Local Variables · Read-only

Returns all local variables and variable collections defined in a Figma file. Requires the variables:read scope.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `file_key` (`string`, required): The unique key of the Figma file.

Example input: `{"file_key":"<file_key>"}`

### `figma_file_variables_published_get`

Get File Published Variables · Read-only

Returns all published variables and variable collections from a Figma file's library. Requires the variables:read scope.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `file_key` (`string`, required): The unique key of the Figma file.

Example input: `{"file_key":"<file_key>"}`

### `figma_file_versions_list`

List File Versions · Read-only

Returns the version history of a Figma file, including version IDs, labels, descriptions, and creation timestamps.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `file_key` (`string`, required): The unique key of the Figma file.
- `after` (`string`, optional): Return versions created after this version ID (for pagination).
- `before` (`string`, optional): Return versions created before this version ID (for pagination).
- `page_size` (`integer`, optional): Number of versions to return per page.

Example input: `{"file_key":"<file_key>"}`

### `figma_folder_files_list`

List Folder Files · Read-only

Returns all files directly within a Figma folder, including file keys, names, thumbnails, and last modified timestamps, using Figma's newer Folders API (the successor to project files).

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `folder_id` (`string`, required): The ID of the Figma folder.
- `branch_data` (`boolean`, optional): If true, includes branch metadata for each main file with branches.

Example input: `{"folder_id":"<folder_id>"}`

### `figma_folder_meta_get`

Get Folder Meta · Read-only

Returns basic metadata about a Figma folder — its name, thumbnail, file count, and timestamps — without enumerating its files, using Figma's newer Folders API (the successor to project meta).

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `folder_id` (`string`, required): The ID of the Figma folder.

Example input: `{"folder_id":"<folder_id>"}`

### `figma_library_analytics_component_actions_get`

Get Library Analytics Component Actions · Read-only

Returns analytics data on component insertion, detachment, and usage actions from a library file. Enterprise only.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `file_key` (`string`, required): The key of the library Figma file.
- `group_by` (`string`, required): Dimension to group results by: component or team.
- `cursor` (`string`, optional): Pagination cursor from previous response.
- `end_date` (`string`, optional): End date for analytics in YYYY-MM-DD format.
- `start_date` (`string`, optional): Start date for analytics in YYYY-MM-DD format.

Example input: `{"file_key":"<file_key>","group_by":"<group_by>"}`

### `figma_library_analytics_component_usages_get`

Get Library Analytics Component Usages · Read-only

Returns a snapshot of how many times each component from a library is used across the organization. Enterprise only.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `file_key` (`string`, required): The key of the library Figma file.
- `group_by` (`string`, required): Group analytics results by COMPONENT, TEAM, or FILE.
- `cursor` (`string`, optional): Pagination cursor from previous response.

Example input: `{"file_key":"<file_key>","group_by":"<group_by>"}`

### `figma_library_analytics_style_actions_get`

Get Library Analytics Style Actions · Read-only

Returns analytics data on style insertion and detachment actions from a library file. Enterprise only.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `file_key` (`string`, required): The key of the library Figma file.
- `group_by` (`string`, required): Dimension to group results by: style or team.
- `cursor` (`string`, optional): Pagination cursor from previous response.
- `end_date` (`string`, optional): End date for analytics in YYYY-MM-DD format.
- `start_date` (`string`, optional): Start date for analytics in YYYY-MM-DD format.

Example input: `{"file_key":"<file_key>","group_by":"<group_by>"}`

### `figma_library_analytics_style_usages_get`

Get Library Analytics Style Usages · Read-only

Returns a snapshot of how many times each style from a library is used across the organization. Enterprise only.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `file_key` (`string`, required): The key of the library Figma file.
- `group_by` (`string`, required): Group analytics results by COMPONENT, TEAM, or FILE.
- `cursor` (`string`, optional): Pagination cursor from previous response.

Example input: `{"file_key":"<file_key>","group_by":"<group_by>"}`

### `figma_library_analytics_variable_actions_get`

Get Library Analytics Variable Actions · Read-only

Returns analytics data on variable actions from a library file. Enterprise only.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `file_key` (`string`, required): The key of the library Figma file.
- `group_by` (`string`, required): Dimension to group results by: variable or team.
- `cursor` (`string`, optional): Pagination cursor from previous response.
- `end_date` (`string`, optional): End date for analytics in YYYY-MM-DD format.
- `start_date` (`string`, optional): Start date for analytics in YYYY-MM-DD format.

Example input: `{"file_key":"<file_key>","group_by":"<group_by>"}`

### `figma_library_analytics_variable_usages_get`

Get Library Analytics Variable Usages · Read-only

Returns a snapshot of how many times each variable from a library is used across the organization. Enterprise only.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `file_key` (`string`, required): The key of the library Figma file.
- `group_by` (`string`, required): Group analytics results by COMPONENT, TEAM, or FILE.
- `cursor` (`string`, optional): Pagination cursor from previous response.

Example input: `{"file_key":"<file_key>","group_by":"<group_by>"}`

### `figma_me_get`

Get Current User · Read-only

Returns the authenticated user's information including name, email, and profile image URL.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs: none.

Example input: `{}`

### `figma_oembed_get`

Get oEmbed Data · Read-only

Return oEmbed data (per the oEmbed spec) for a Figma file or published Figma Make site URL -- useful for generating rich embeds/previews on external pages.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `url` (`string`, required): The Figma file or Figma Make site URL to generate oEmbed data for
- `maxheight` (`integer`, optional): Maximum height of the embed in pixels (default 450)
- `maxwidth` (`integer`, optional): Maximum width of the embed in pixels (default 800)

Example input: `{"url":"<url>"}`

### `figma_payments_get`

Get Payments · Read-only

Returns payment and plan information for a Figma user or resource, including subscription status and plan type.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `resource_id` (`string`, optional): The ID of the plugin or widget resource.
- `resource_type` (`string`, optional): The type of resource: plugin or widget.
- `user_id` (`string`, optional): The ID of the user to get payment info for.

Example input: `{}`

### `figma_project_files_list`

List Project Files · Read-only

Returns all files in a Figma project, including file keys, names, thumbnails, and last modified timestamps.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `project_id` (`string`, required): The ID of the Figma project.
- `branch_data` (`boolean`, optional): If true, includes branch metadata for each file.

Example input: `{"project_id":"<project_id>"}`

### `figma_project_meta_get`

Get Project Meta · Read-only

Retrieve metadata for a Figma project by its project ID.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `project_id` (`string`, required): The ID of the project.

Also accepts `schema_version` and `tool_version` to pin a version.

Example input: `{"project_id":"<project_id>"}`

### `figma_style_get`

Get Style · Read-only

Returns metadata for a published style by its key, including name, description, style type, and containing file information.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `key` (`string`, required): The unique key of the style.

Example input: `{"key":"<key>"}`

### `figma_team_component_sets_list`

List Team Component Sets · Read-only

Returns all published component sets in a Figma team library, with pagination support.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `team_id` (`string`, required): The ID of the Figma team.
- `after` (`integer`, optional): Cursor for the next page of results.
- `before` (`integer`, optional): Cursor for the previous page of results.
- `page_size` (`integer`, optional): Number of component sets to return per page.

Example input: `{"team_id":"<team_id>"}`

### `figma_team_components_list`

List Team Components · Read-only

Returns all published components in a Figma team library, with pagination support.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `team_id` (`string`, required): The ID of the Figma team.
- `after` (`integer`, optional): Cursor for the next page of results.
- `before` (`integer`, optional): Cursor for the previous page of results.
- `page_size` (`integer`, optional): Number of components to return per page.

Example input: `{"team_id":"<team_id>"}`

### `figma_team_folders_list`

List Team Folders · Read-only

Returns the top-level folders within a Figma team that the authenticated user has access to, using Figma's newer Folders API (the successor to team projects).

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `team_id` (`string`, required): The ID of the Figma team.

Example input: `{"team_id":"<team_id>"}`

### `figma_team_get`

Get Team Projects · Read-only

List all projects visible to the authenticated user within the specified Figma team.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `team_id` (`string`, required): The ID of the Figma team.

Example input: `{"team_id":"<team_id>"}`

### `figma_team_projects_list`

List Team Projects · Read-only

Returns all projects within a Figma team that the authenticated user has access to.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `team_id` (`string`, required): The ID of the Figma team.

Example input: `{"team_id":"<team_id>"}`

### `figma_team_styles_list`

List Team Styles · Read-only

Returns all published styles in a Figma team library, with pagination support.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `team_id` (`string`, required): The ID of the Figma team.
- `after` (`integer`, optional): Cursor for the next page of results.
- `before` (`integer`, optional): Cursor for the previous page of results.
- `page_size` (`integer`, optional): Number of styles to return per page.

Example input: `{"team_id":"<team_id>"}`

### `figma_team_webhooks_list`

List Team Webhooks · Read-only

Returns all webhooks registered for a Figma team.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `team_id` (`string`, required): The ID of the Figma team.

Example input: `{"team_id":"<team_id>"}`

### `figma_webhook_get`

Get Webhook · Read-only

Returns details of a specific Figma webhook by its ID, including event type, endpoint, and status.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `webhook_id` (`string`, required): The ID of the webhook.

Example input: `{"webhook_id":"<webhook_id>"}`

### `figma_webhook_requests_list`

List Webhook Requests · Read-only

Returns the delivery history for a webhook, including request payloads, response codes, and timestamps.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `webhook_id` (`string`, required): The ID of the webhook.

Example input: `{"webhook_id":"<webhook_id>"}`

### `figma_webhooks_list`

List Webhooks By Context · Read-only

Return webhooks for a given context (team, project, or file) or for an entire plan, if they exist. When plan_api_id is used, webhooks for every context you can access on that plan are returned, paginated via cursor. Use figma_team_webhooks_list for the simpler team-only case.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `context` (`string`, optional): The context type to filter by: TEAM, PROJECT, or FILE
- `context_id` (`string`, optional): The ID of the team/project/file matching context
- `cursor` (`string`, optional): Pagination cursor from a previous response
- `plan_api_id` (`string`, optional): Return webhooks for this entire plan instead of a single context

Example input: `{}`

### `figma_comment_reaction_create`

Create Comment Reaction · Write

Adds an emoji reaction to a comment in a Figma file.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `comment_id` (`string`, required): The ID of the comment to react to.
- `emoji` (`string`, required): The emoji to react with (e.g. ':thumbsup:').
- `file_key` (`string`, required): The unique key of the Figma file.

Example input: `{"comment_id":"<comment_id>","emoji":":thumbsup:","file_key":"<file_key>"}`

### `figma_dev_resource_create`

Create Dev Resource · Write

Creates a dev resource (external link) attached to a node in a Figma file, such as a link to Storybook, Jira, or documentation.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `file_key` (`string`, required): The key of the Figma file containing the target node.
- `name` (`string`, required): Display name for the dev resource link.
- `node_id` (`string`, required): The ID of the node to attach the dev resource to.
- `url` (`string`, required): The URL of the external resource.

Example input: `{"file_key":"<file_key>","name":"<name>","node_id":"<node_id>","url":"<url>"}`

### `figma_dev_resource_update`

Update Dev Resource · Write

Updates an existing dev resource attached to a node in a Figma file.

Read only: no. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `dev_resource_id` (`string`, required): The ID of the dev resource to update.
- `name` (`string`, optional): New display name for the dev resource.
- `url` (`string`, optional): New URL for the dev resource.

Example input: `{"dev_resource_id":"<dev_resource_id>"}`

### `figma_file_comment_create`

Create File Comment · Write

Posts a new comment on a Figma file. Can be placed at a specific canvas position or anchored to a specific node.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `file_key` (`string`, required): The unique key of the Figma file.
- `message` (`string`, required): The text content of the comment.
- `client_meta` (`string`, optional): JSON string specifying position or node anchor for the comment, e.g. {"node_id":"1:2","node_offset":{"x":0,"y":0}}.
- `comment_id` (`string`, optional): The ID of the comment to reply to. If provided, this creates a reply to that comment.

Example input: `{"file_key":"<file_key>","message":"<message>"}`

### `figma_file_variables_update`

Update Variables · Write

Create, update, or delete variables, variable collections, and modes in a Figma file. Enterprise plan only.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `file_key` (`string`, required): The file or branch key to update variables in.
- `variableCollections` (`array`, optional): Variable collections to create, update, or delete.
- `variableModes` (`array`, optional): Variable modes to create, update, or delete.
- `variableModeValues` (`array`, optional): Variable mode values to set.
- `variables` (`array`, optional): Variables to create, update, or delete.

Also accepts `schema_version` and `tool_version` to pin a version.

Example input: `{"file_key":"<file_key>"}`

### `figma_webhook_create`

Create Webhook · Write

Creates a new webhook that sends events to the specified endpoint URL when Figma events occur in a team.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `endpoint` (`string`, required): The HTTPS URL to send webhook payloads to.
- `event_type` (`string`, required): The event type to subscribe to: FILE_UPDATE, FILE_DELETE, FILE_VERSION_UPDATE, FILE_COMMENT, LIBRARY_PUBLISH.
- `passcode` (`string`, required): A passcode included in the webhook payload for verification.
- `team_id` (`string`, required): The ID of the team to subscribe to events for.
- `description` (`string`, optional): Optional description for the webhook.
- `status` (`string`, optional): Webhook status: ACTIVE or PAUSED.

Example input: `{"endpoint":"<endpoint>","event_type":"<event_type>","passcode":"<passcode>","team_id":"<team_id>"}`

### `figma_webhook_update`

Update Webhook · Write

Updates an existing Figma webhook's endpoint, passcode, status, or description.

Read only: no. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `webhook_id` (`string`, required): The ID of the webhook to update.
- `description` (`string`, optional): Updated description for the webhook.
- `endpoint` (`string`, optional): New HTTPS URL to send webhook payloads to.
- `passcode` (`string`, optional): New passcode for webhook verification.
- `status` (`string`, optional): Webhook status: ACTIVE or PAUSED.

Example input: `{"webhook_id":"<webhook_id>"}`

### `figma_comment_reaction_delete`

Delete Comment Reaction · Destructive

Removes the authenticated user's emoji reaction from a comment in a Figma file.

Read only: no. Destructive: yes. Idempotent (safe to retry): yes.

Inputs:

- `comment_id` (`string`, required): The ID of the comment to remove reaction from.
- `emoji` (`string`, required): The emoji reaction to remove (e.g. ':thumbsup:').
- `file_key` (`string`, required): The unique key of the Figma file.

Example input: `{"comment_id":"<comment_id>","emoji":":thumbsup:","file_key":"<file_key>"}`

### `figma_dev_resource_delete`

Delete Dev Resource · Destructive

Permanently deletes a dev resource from a node in a Figma file.

Read only: no. Destructive: yes. Idempotent (safe to retry): yes.

Inputs:

- `dev_resource_id` (`string`, required): The ID of the dev resource to delete.
- `file_key` (`string`, required): The key of the Figma file containing the dev resource.

Example input: `{"dev_resource_id":"<dev_resource_id>","file_key":"<file_key>"}`

### `figma_file_comment_delete`

Delete File Comment · Destructive

Deletes a specific comment from a Figma file. Only the comment author or file owner can delete a comment.

Read only: no. Destructive: yes. Idempotent (safe to retry): yes.

Inputs:

- `comment_id` (`string`, required): The ID of the comment to delete.
- `file_key` (`string`, required): The unique key of the Figma file.

Example input: `{"comment_id":"<comment_id>","file_key":"<file_key>"}`

### `figma_webhook_delete`

Delete Webhook · Destructive

Permanently deletes a Figma webhook. This stops all future event deliveries for this webhook.

Read only: no. Destructive: yes. Idempotent (safe to retry): yes.

Inputs:

- `webhook_id` (`string`, required): The ID of the webhook to delete.

Example input: `{"webhook_id":"<webhook_id>"}`

## Workflows

**Proxy API call**

  **Node.js**

  ```typescript
  const me = await actions.request({
    connectionName: 'figma',
    identifier: 'user_123',
    path: '/v1/me',
    method: 'GET',
  });
  console.log('Authenticated user:', me);

  // Example: fetch a file's document tree
  const file = await actions.request({
    connectionName: 'figma',
    identifier: 'user_123',
    path: '/v1/files/YOUR_FILE_KEY',
    method: 'GET',
  });
  console.log('File:', file);
  ```

  **Python**

  ```python
  me = actions.request(
      connection_name='figma',
      identifier='user_123',
      path="/v1/me",
      method="GET",
  )
  print("Authenticated user:", me)

  # Example: fetch a file's document tree
  file = actions.request(
      connection_name='figma',
      identifier='user_123',
      path="/v1/files/YOUR_FILE_KEY",
      method="GET",
  )
  print("File:", file)
  ```

**Execute a tool**

  **Node.js**

  ```typescript
  const result = await actions.executeTool({
    connector: 'figma',
    identifier: 'user_123',
    toolName: 'figma_activity_logs_list',
    toolInput: {},
  });
  console.log(result);
  ```

  **Python**

  ```python
  result = actions.execute_tool(
      connection_name='figma',
      identifier='user_123',
      tool_name='figma_activity_logs_list',
      tool_input={},
  )
  print(result)
  ```

## Related

Other Design connectors ([all 26](/agentkit/connectors/?category=design)):

- [Miro](/agentkit/connectors/miro/): Scalekit connector, OAuth, 115 tools
- [Mural](/agentkit/connectors/mural/): Scalekit connector, OAuth, 61 tools
- [Black Forest Labs](/agentkit/connectors/blackforestlabs/): Scalekit connector, API key, 23 tools


---

## More Scalekit documentation

| Resource | What it contains | When to use it |
|----------|-----------------|----------------|
| [/llms.txt](/llms.txt) | Structured index with routing hints per product area | Start here — find which documentation set covers your topic before loading full content |
| [/llms-full.txt](/llms-full.txt) | Complete documentation for all Scalekit products in one file | Use when you need exhaustive context across multiple products or when the topic spans several areas |
| [sitemap-0.xml](https://docs.scalekit.com/sitemap-0.xml) | Full URL list of every documentation page | Use to discover specific page URLs you can fetch for targeted, page-level answers |
