Skip to main content
Server path: /figma | Type: Application | PCID required: Yes Design files and components

Tools

ToolDescription
figma_get_fileGet a Figma file by key
figma_get_file_nodesGet specific nodes from a Figma file
figma_get_imagesExport images from Figma file nodes
figma_get_file_versionsGet version history of a Figma file
figma_get_team_projectsGet projects in a Figma team
figma_get_project_filesGet files in a Figma project
figma_get_commentsGet comments on a Figma file
figma_post_commentPost a comment on a Figma file
figma_get_meGet current user information
figma_get_team_stylesGet published styles from a Figma team
figma_get_team_componentsGet published components from a Figma team

figma_get_file

Get a Figma file by key Parameters:
ParameterTypeRequiredDefaultDescription
fileKeystringYesFigma file key
versionstringNoSpecific version ID to retrieve
idsstring[]NoComma-separated list of node IDs to retrieve
depthnumberNoDepth of the tree to retrieve (0 for just the document)

figma_get_file_nodes

Get specific nodes from a Figma file Parameters:
ParameterTypeRequiredDefaultDescription
fileKeystringYesFigma file key
nodeIdsstring[]YesArray of node IDs to retrieve
versionstringNoSpecific version ID to retrieve
depthnumberNoDepth of the tree to retrieve
geometrystringNoGeometry data to include

figma_get_images

Export images from Figma file nodes Parameters:
ParameterTypeRequiredDefaultDescription
fileKeystringYesFigma file key
nodeIdsstring[]YesArray of node IDs to export as images
formatstringNo"png"Image format
scalenumberNoImage scale factor
versionstringNoSpecific version ID to export from

figma_get_file_versions

Get version history of a Figma file Parameters:
ParameterTypeRequiredDefaultDescription
fileKeystringYesFigma file key

figma_get_team_projects

Get projects in a Figma team Parameters:
ParameterTypeRequiredDefaultDescription
teamIdstringYesFigma team ID

figma_get_project_files

Get files in a Figma project Parameters:
ParameterTypeRequiredDefaultDescription
projectIdstringYesFigma project ID
branchDatabooleanNofalseInclude branch data for files

figma_get_comments

Get comments on a Figma file Parameters:
ParameterTypeRequiredDefaultDescription
fileKeystringYesFigma file key
asVectorbooleanNofalseReturn comments as vector data

figma_post_comment

Post a comment on a Figma file Parameters:
ParameterTypeRequiredDefaultDescription
fileKeystringYesFigma file key
messagestringYesComment message text
clientMetaobjectYesComment placement metadata

figma_get_me

Get current user information

figma_get_team_styles

Get published styles from a Figma team Parameters:
ParameterTypeRequiredDefaultDescription
teamIdstringYesFigma team ID

figma_get_team_components

Get published components from a Figma team Parameters:
ParameterTypeRequiredDefaultDescription
teamIdstringYesFigma team ID
pageSizenumberNo30Number of components to return
afterstringNoCursor for pagination