post_comment
Create a comment on a Figma file via the REST API; use an optional nodeId to anchor it to a node or clientMeta to position it on the canvas.
Instructions
Create a comment on a Figma file via the REST API (requires FIGMA_TOKEN). Optional nodeId anchors it to a node; clientMeta {x,y[,nodeId]} positions it on the canvas.
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": {
"fileKey": "<fileKey>",
"message": "<message>"
},
"name": "post_comment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nodeId | No | ||
| fileKey | Yes | ||
| message | Yes | ||
| clientMeta | No |