set_font_weight
Adjust the font weight of a specified text node in Figma by providing the node ID and a weight value from 100 to 900.
Instructions
Set the font weight of a text node in Figma
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"nodeId": "<nodeId>",
"weight": "<weight>"
},
"name": "set_font_weight"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nodeId | Yes | The ID of the text node to modify | |
| weight | Yes | Font weight (100, 200, 300, 400, 500, 600, 700, 800, 900) |