figma_whoami
Identifies the current Figma user, open file, pages, and viewport, and reports which connected file was actually read when several files are available.
Instructions
Current Figma user, open file (name/key/editor type), pages and viewport. With several files connected, pass fileKey — its reply names the file it actually read.
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_whoami"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fileKey | No | Which connected Figma file to use: its fileKey (figma_whoami) or, when omitted, the only connected file. Required once more than one file is connected; figma_ping lists them. |