Get all comments
get_all_commentsRetrieve all comment threads from a Figma file, grouped by page and canvas element. Resolved threads are returned as a count only.
Instructions
Fetch every comment thread in a Figma file, grouped by page and the canvas element each thread is pinned to. Resolved threads are returned as a count only. Prefer a narrower tool (unresolved/recent/mentions, or the page argument) when it answers the question.
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": {
"url": "<url>"
},
"name": "get_all_comments"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | A figma.com file link (design/file URL) or a bare file key | |
| page | No | Optional: limit to one page, by page name (e.g. "Homepage") or page id (e.g. "1:2" or "1-2") | |
| author | No | Optional: only threads where this person wrote a message. Matches the Figma handle, partial and case-insensitive. | |
| search | No | Optional: only threads whose text contains this keyword (case-insensitive) | |
| max_threads | No | Cap on unresolved threads shown, newest first (default 50) |