Skip to main content
Glama

Talk to Figma MCP

by yhc984

set_padding

Adjust padding values for any auto-layout frame in Figma by specifying top, right, bottom, and left margins. Modify designs programmatically using the MCP server 'Talk to Figma'.

Instructions

Set padding values for an auto-layout frame in Figma

Input Schema

NameRequiredDescriptionDefault
nodeIdYesThe ID of the frame to modify
paddingBottomNoBottom padding value
paddingLeftNoLeft padding value
paddingRightNoRight padding value
paddingTopNoTop padding value

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "nodeId": { "description": "The ID of the frame to modify", "type": "string" }, "paddingBottom": { "description": "Bottom padding value", "type": "number" }, "paddingLeft": { "description": "Left padding value", "type": "number" }, "paddingRight": { "description": "Right padding value", "type": "number" }, "paddingTop": { "description": "Top padding value", "type": "number" } }, "required": [ "nodeId" ], "type": "object" }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/yhc984/cursor-talk-to-figma-mcp-main'

If you have feedback or need assistance with the MCP directory API, please join our Discord server