get_local_variables
Lists local Figma variable collections, their modes, and variables with types, per-mode values, and scopes; use the returned cursor to continue partial reads.
Instructions
Read-only: list local variable collections with their modes, and every variable with its type, values per mode and scopes. Read in one pass with a time budget: if it is reached the answer says PARTIAL and gives nextCursor (pass it back as cursor).
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": "get_local_variables"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cursor | No | nextCursor of a previous PARTIAL answer, to continue where it stopped | |
| timeBudgetMs | No | Time budget of the plugin for this call in ms (default 60000, max 100000). When it is reached the answer says it is PARTIAL and gives nextCursor. |