/figma | Type: Application | PCID required: Yes
Design files and components
Tools
| Tool | Description |
|---|---|
figma_get_file | Get a Figma file by key |
figma_get_file_nodes | Get specific nodes from a Figma file |
figma_get_images | Export images from Figma file nodes |
figma_get_file_versions | Get version history of a Figma file |
figma_get_team_projects | Get projects in a Figma team |
figma_get_project_files | Get files in a Figma project |
figma_get_comments | Get comments on a Figma file |
figma_post_comment | Post a comment on a Figma file |
figma_get_me | Get current user information |
figma_get_team_styles | Get published styles from a Figma team |
figma_get_team_components | Get published components from a Figma team |
figma_get_file
Get a Figma file by key Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
fileKey | string | Yes | — | Figma file key |
version | string | No | — | Specific version ID to retrieve |
ids | string[] | No | — | Comma-separated list of node IDs to retrieve |
depth | number | No | — | Depth of the tree to retrieve (0 for just the document) |
figma_get_file_nodes
Get specific nodes from a Figma file Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
fileKey | string | Yes | — | Figma file key |
nodeIds | string[] | Yes | — | Array of node IDs to retrieve |
version | string | No | — | Specific version ID to retrieve |
depth | number | No | — | Depth of the tree to retrieve |
geometry | string | No | — | Geometry data to include |
figma_get_images
Export images from Figma file nodes Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
fileKey | string | Yes | — | Figma file key |
nodeIds | string[] | Yes | — | Array of node IDs to export as images |
format | string | No | "png" | Image format |
scale | number | No | — | Image scale factor |
version | string | No | — | Specific version ID to export from |
figma_get_file_versions
Get version history of a Figma file Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
fileKey | string | Yes | — | Figma file key |
figma_get_team_projects
Get projects in a Figma team Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
teamId | string | Yes | — | Figma team ID |
figma_get_project_files
Get files in a Figma project Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
projectId | string | Yes | — | Figma project ID |
branchData | boolean | No | false | Include branch data for files |
figma_get_comments
Get comments on a Figma file Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
fileKey | string | Yes | — | Figma file key |
asVector | boolean | No | false | Return comments as vector data |
figma_post_comment
Post a comment on a Figma file Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
fileKey | string | Yes | — | Figma file key |
message | string | Yes | — | Comment message text |
clientMeta | object | Yes | — | Comment placement metadata |
figma_get_me
Get current user informationfigma_get_team_styles
Get published styles from a Figma team Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
teamId | string | Yes | — | Figma team ID |
figma_get_team_components
Get published components from a Figma team Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
teamId | string | Yes | — | Figma team ID |
pageSize | number | No | 30 | Number of components to return |
after | string | No | — | Cursor for pagination |

