Capture Webpage
capture_webpageCapture a webpage or specific CSS-selected element and convert it into a Figma design, with configurable delays and support for history or hash router modes.
Instructions
Capture a webpage using Figma's HTML-to-design feature. Supports both history and hash router modes.
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": {
"url": "<url>"
},
"name": "capture_webpage"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | The URL of the webpage to capture (e.g., http://localhost:5173, https://example.com) | |
| delay | No | Delay in milliseconds before triggering capture | |
| selector | No | CSS selector of the element to capture | body |