write_comment
Post comments on Figma files, pin them to specific nodes, or reply to existing threads. Requires the file_comments:write token scope.
Instructions
Post a comment on a file, pinned to a node, or reply to a thread. Works without the plugin. Needs the file_comments:write token scope.
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": {
"file": "<file>",
"message": "<message>"
},
"name": "write_comment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | Figma file URL or key | |
| node | No | Node id or URL to pin the comment to | |
| message | Yes | ||
| replyTo | No | Comment id (#123 in read_comments) to reply to |