Create file
create_fileCreate a design file (with one empty page). Returns its id and URL. Without a project it is a draft only you (the user) can see. It goes to the default workspace, or to workspace when given; with projectId, to that project's workspace.
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": {
"name": "<name>"
},
"name": "create_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| project | No | Or the project's name: created (open to the workspace) if it does not exist. | |
| projectId | No | Project to create the file in (see list_files), so the team sees it. | |
| workspace | No | The workspace to create it in: its id or name (whoami lists them). Default: the default workspace. |