create_page
Creates a new page in a Figma file, optionally makes it the active page, and returns its ID and name for design automation.
Instructions
Create a new page. setCurrent: true switches to it. Returns {id, name, current}.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "create_page"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | No | Target file (fileKey, id or name). Defaults to the most recently active file. | |
| name | No | ||
| setCurrent | No |