Create Doc
create_docCreate a Doc in the specified accessible project with a title and optional Markdown body. figmaDesigns adds native design embeds, never attachments. Other project members can read it. This does not register the Doc in the Figma plugin page list or add a Figma backlink. Preserve requestId on retries.
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": {
"requestId": "<requestId>",
"projectId": "<projectId>",
"title": "<title>"
},
"name": "create_doc"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | Yes | Doc title requested by the user. | |
| content | No | Initial Doc body as Markdown, at most 20,000 characters. | |
| folderId | No | Optional existing destination folder ID. Must be accessible within the target project or task. | |
| projectId | Yes | Existing accessible project ID returned by list_projects. | |
| requestId | Yes | A unique UUID for this intended action. Reuse it unchanged when retrying the same action. | |
| figmaDesigns | No | Selected Figma designs to embed automatically; tasks also add them to Resources. Use content for Markdown, not legacy description. Ask for the design link if unavailable. Does not write back into Figma. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| doc | Yes | ||
| figma | No |