set_guide
Replace all existing guides on a Figma page by specifying page ID and an array of guides with axis and offset positions.
Instructions
Set guides on a page in Figma. Replaces all existing guides on the page.
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": {
"pageId": "<pageId>",
"guides": "<guides>"
},
"name": "set_guide"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pageId | Yes | The ID of the page to add guides to | |
| guides | Yes | Array of guides to set on the page |