post_comment
Add comments to specific nodes in Figma files by specifying the file key, node ID, message, and pin coordinates, enabling precise design feedback integration.
Instructions
Post a comment on a node in a Figma file
Input Schema
Name | Required | Description | Default |
---|---|---|---|
file_key | Yes | The key of the Figma file | |
message | Yes | The comment message | |
node_id | No | The ID of the node to comment on. Node ids have the format `<number>:<number>` | |
x | Yes | The x coordinate of the comment pin | |
y | Yes | The y coordinate of the comment pin |
Input Schema (JSON Schema)
{
"properties": {
"file_key": {
"description": "The key of the Figma file",
"type": "string"
},
"message": {
"description": "The comment message",
"type": "string"
},
"node_id": {
"description": "The ID of the node to comment on. Node ids have the format `<number>:<number>`",
"type": "string"
},
"x": {
"description": "The x coordinate of the comment pin",
"type": "number"
},
"y": {
"description": "The y coordinate of the comment pin",
"type": "number"
}
},
"required": [
"file_key",
"message",
"x",
"y"
],
"type": "object"
}