Skip to main content
Glama

set_mask

Apply masks to Figma nodes individually or in batches using specified target and mask node IDs. Enables efficient UI/UX design modifications through structured operations, supported by the Conduit MCP server.

Instructions

Applies a mask in Figma. Supports single or batch:

  • Single: { targetNodeId, maskNodeId, channelId? }

  • Batch: { operations: [ { targetNodeId, maskNodeId, channelId? }, ... ] } Returns an array of result objects.

Input Schema

NameRequiredDescriptionDefault
channelIdNoChannel ID for communication
maskNodeIdYesID of the node to use as mask
operationsYes
parentIdNoOptional parent node ID for the resulting mask group
targetNodeIdYesID of the node to be masked

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "channelId": { "description": "Channel ID for communication", "type": "string" }, "maskNodeId": { "description": "ID of the node to use as mask", "type": "string" }, "operations": { "items": { "additionalProperties": false, "properties": { "channelId": { "description": "Channel ID for communication", "type": "string" }, "maskNodeId": { "description": "ID of the node to use as mask", "type": "string" }, "targetNodeId": { "description": "ID of the node to be masked", "type": "string" } }, "required": [ "targetNodeId", "maskNodeId" ], "type": "object" }, "type": "array" }, "parentId": { "description": "Optional parent node ID for the resulting mask group", "type": "string" }, "targetNodeId": { "description": "ID of the node to be masked", "type": "string" } }, "required": [ "targetNodeId", "maskNodeId", "operations" ], "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