get_frame_info
Analyze Figma frame structure to identify components, text, colors, and styles before implementation or screenshot capture.
Instructions
Get detailed info about a specific frame.
IMPORTANT: This should be your FIRST call for any implementation task. Always call get_frame_info BEFORE taking screenshots to understand the structure.
HOW IT WORKS:
Returns all components, text, colors, and styles
Large frames (>1000 elements) trigger warning with strategy
Use depth parameter to control detail level
Automatically chunks if response too large
The tree includes special markers:
isCompositeAsset: true = Export this GROUP as a single image (contains image + shapes)
isSmallElement: true = Small UI element that may be easily missed
TYPICAL WORKFLOW:
list_frames → find frame name
get_frame_info(frame_name) → structure
extract_styles → design tokens
extract_assets → icons/images
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"file_key": "<file_key>",
"page_name": "<page_name>",
"frame_name": "<frame_name>"
},
"name": "get_frame_info"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_key | Yes | Figma file key | |
| page_name | Yes | Page name (partial match) | |
| frame_name | Yes | Frame name (partial match) | |
| depth | No | How deep to traverse (1=direct children, 2=grandchildren). Default: 2 | |
| continue | No | Continue from last response |