Skip to main content
Glama

set_corner_radius

Modify the corner radius of a Figma node by specifying the radius in pixels and optional corner settings for top-left, top-right, bottom-right, and bottom-left corners.

Instructions

Sets the corner radius of a node in Figma.

Returns:

  • content: Array of objects. Each object contains a type: "text" and a text field with the updated node's ID.

Input Schema

NameRequiredDescriptionDefault
cornersNoOptional array of four booleans indicating which corners to apply the radius to, in order: [top-left, top-right, bottom-right, bottom-left].
radiusYesThe corner radius to set, in pixels. Must be a non-negative number.

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "corners": { "description": "Optional array of four booleans indicating which corners to apply the radius to, in order: [top-left, top-right, bottom-right, bottom-left].", "items": { "type": "boolean" }, "maxItems": 4, "minItems": 4, "type": "array" }, "radius": { "description": "The corner radius to set, in pixels. Must be a non-negative number.", "minimum": 0, "type": "number" } }, "required": [ "radius" ], "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/amalinakurniasari/conduit'

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