Call raw Figma Plugin API
figma.call_apiExecute any Figma Plugin API method on a selected target, such as a node or page, to inspect or modify the design.
Instructions
Dynamically call any Plugin API method on figma, a node, page, style, variable, or API namespace.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| args | No | ||
| method | Yes | ||
| nodeId | No | ||
| pageId | No | ||
| target | Yes | ||
| styleId | No | ||
| imageHash | No | ||
| targetPath | No | ||
| variableId | No | ||
| variableCollectionId | No |