Skip to main content
Glama

get_styled_text_segments

Extract text segments with specific styling from a Figma text node based on properties like font size, weight, or decoration. Retrieve structured JSON data for precise style analysis.

Instructions

Get text segments with specific styling in a text node.

Returns:

  • content: Array of objects. Each object contains a type: "text" and a text field with the styled text segments as JSON.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nodeIdYesThe unique Figma text node ID to analyze. Must be a string in the format '123:456'.
propertyYesThe style property to analyze segments by. Must be one of the allowed style property names.

Latest Blog Posts

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