Create File
create_fileCreate a board, doc or folder in Whimsical. Boards start empty: add diagrams, sticky notes, tables and wireframes with add_board_content, or individual shapes, text and connectors with edit (see how_to('board')). Files start empty: fill a doc with add_doc_content. Pass add_page_to_id to add the new file as a page next to an existing one: added to it if it is a multipage, to its multipage if it is a page of one, otherwise the file is first turned into a multipage holding it as the first page — the same as Add page in the app. Use it when the user asks for a new page, tab or sheet of an existing file.
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": {
"type": "<type>",
"title": "<title>"
},
"name": "create_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | What to create | |
| title | Yes | Name of the new file or folder | |
| parent_id | No | Folder, team, multipage or doc id (base58) to create in. A doc id nests the new file inside that doc's body. Find ids with file_tree or search. Defaults to the Private section. Can't be combined with add_page_to_id. | |
| add_page_to_id | No | Id of a file or multipage to add the new file next to, as a new page (see description). |