Post a Figma comment
post_commentPost comments or replies on Figma design files by file key and message. Supports canvas pins, node attachments, and replying to existing root comments.
Instructions
POST /v1/files/{key}/comments — add a comment or reply (comment_id of a root comment). Scope: file_comments:write.
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": "post_comment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | Canvas x for a new pin (with y). | |
| y | No | Canvas y for a new pin (with x). | |
| file | Yes | Figma file key or URL (figma.com/design/... or figma.com/file/...) | |
| message | Yes | ||
| node_id | No | Node to attach the comment to (with offset_x/offset_y). | |
| offset_x | No | ||
| offset_y | No | ||
| comment_id | No | Root comment id to reply to. |