Choose active Figma file
select_fileTarget a specific open Figma file when the plugin runs across multiple files by connection ID or file name substring, so commands reach the intended document.
Instructions
When the plugin runs in several Figma files, choose which file receives commands (by connectionId from get_status or by file name substring).
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": "select_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fileName | No | ||
| connectionId | No |