Actions3
- Render Actions
- Frame Actions
Frame → List Frames
AI-generatedSummary
Lists frames in a Figma file
Inputs
- fileKey (required) — Figma file key to query
- hard — Whether to request frames with a hard refresh to bypass cache
- xFigmaToken — Optional token to override the default Figma token for the request
Output shape
object containing the frames data returned by the API
The response includes a frames array; the operation returns the full API response object. Errors are thrown unless continueOnFail is enabled.
Examples
Example 1: List all frames in a Figma file
fileKey = 'abcd1234'; options = {} (hard default false, xFigmaToken empty)
Example 2: List frames with a custom token and hard refresh
fileKey = 'efgh5678'; options = {hard: true, xFigmaToken: 'mytoken'}