create_new_file
Instantly create a new blank Figma design, FigJam whiteboard, or slides file in your drafts or a specified project. Returns the file key and direct URL for immediate access, eliminating the need to manually set up new files from scratch.
Instructions
Do what: Creates a new blank Figma design, FigJam, or Slides file in the user's drafts (or a specified project). Expected output: { fileKey (string), url (string) } — the new file's key and direct URL. IMPORTANT: Requires planKey from whoami. Do NOT call if the user already has a file open — use use_figma instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| planKey | Yes | Plan key from whoami e.g. "team::1677224555792257506". | |
| fileName | Yes | Human-readable name for the new file. | |
| projectId | No | Optional project folder ID. | |
| editorType | Yes | "design" for UI files, "figjam" for whiteboards, "slides" for presentations. |