figma_comments
Read Figma comments as threads—author, timestamp, text, resolved status, pinned node, and replies—via the REST API, defaulting to the open file.
Instructions
Read the comments on a Figma file as threads: who wrote each one, when, the text, whether it is resolved, the node it is pinned to (with the node's name when the plugin is open on that file) and the replies. The Plugin API cannot see comments, so this uses Figma's REST API with a personal access token from FIGMA_TOKEN or ~/.config/figma-bridge/token. With no file_key it uses the file open in the plugin.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "figma_comments"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| node_id | No | only threads pinned to this node or inside it | |
| file_key | No | file key or figma.com URL; default: the open file | |
| unresolved | No | only threads that are not resolved |