Agent-readable docs index: /llms.txt. Full docs in one file: /llms-full.txt. Download /docs.zip to grep all markdown files locally.
manageTextStyleTOOL
Creates or updates a text style in the project.
The style path must start with "/" and can include folder structure (e.g., "/Typography/Headings/H1"). The display name will be automatically derived from the last segment of the path. For example, "/Typography/Headings/H1" will create a style named "H1" in the "Typography/Headings" folder.
  • When type is "create": Creates a new text style. Will fail if style already exists.
  • When type is "update": Updates an existing text style. Will fail if style doesn't exist. Note: Updating a text style will update all nodes that use it in the project. If you only want to update a single node, create a new text style and update the XML to reference its new path instead.
After creating, you can reference this style in XML nodes using inlineTextStyle="/path/to/style".
idempotent
Parameters
type *"create" | "update"
Operation type: "create" to make a new style, "update" to modify an existing style
stylePath *string
The path of the text style. Must start with /. The name is derived from the last path segment.
properties *object
Properties for the text style. For update, only specified properties will be changed.
Show properties
tag?"h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "p"
HTML tag associated with the text style
fontSize?string
Font size with units (e.g., "16px", "1.5rem")
lineHeight?string
Line height with units (e.g., "24px", "1.5em", "150%")
letterSpacing?string
Letter spacing with units (e.g., "0px", "0.05em")
paragraphSpacing?number
Space between paragraphs in pixels
transform?"none" | "uppercase" | "lowercase" | "capitalize"
Text transformation
alignment?"left" | "center" | "right" | "justify"
Text alignment
decoration?"none" | "underline" | "line-through"
Text decoration
balance?boolean
Enable balanced text wrapping for better legibility
color?string
Color as hex, rgba, or color style path (e.g., "#FF0000", "rgb(255, 0, 0)", "/Primary")
font?string
Font selector (e.g., "GF;Inter-600")
boldFont?string | null
Bold variant font selector or null to remove
italicFont?string | null
Italic variant font selector or null to remove
boldItalicFont?string | null
Bold italic variant font selector or null to remove
decorationColor?string
Decoration color as hex, rgba, or color style path
decorationThickness?string
Decoration thickness (e.g., "auto", "2px", "0.1em")
decorationStyle?"solid" | "double" | "dotted" | "dashed" | "wavy"
Text decoration style
decorationSkipInk?"auto" | "none" | "all"
Text decoration skip ink behavior
decorationOffset?string
Decoration offset (e.g., "auto", "2px", "0.1em")
Request example
{ "method": "tools/call", "params": { "name": "manageTextStyle", "arguments": { "type": "create", "stylePath": "string", "properties": { "tag": "h1", "fontSize": "string", "lineHeight": "string", "letterSpacing": "string", "paragraphSpacing": 0, "transform": "none", "alignment": "left", "decoration": "none", "balance": true, "color": "string", "font": "string", "boldFont": "string", "italicFont": "string", "boldItalicFont": "string", "decorationColor": "string", "decorationThickness": "string", "decorationStyle": "solid", "decorationSkipInk": "auto", "decorationOffset": "string" } } } }