Export an editable design document
export_project_design_documentExport one existing screenshot page as an editable design document. Edit it using the fields in get_design_contract, then save it with import_project_design_document. Keep the same screenshot and element IDs/types. Native-only settings and other pages/localizations are preserved. A document does not add or remove elements, create artwork, or prescribe a design. For a new font, use a family name returned by list_fonts; the server resolves it.
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": {
"screenshotId": "<screenshotId>",
"projectId": "<projectId>"
},
"name": "export_project_design_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectId | Yes | ||
| screenshotId | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| document | Yes | The page document from export_project_design_document, edited using the fields in get_design_contract. | |
| revision | Yes | ||
| warnings | Yes | ||
| projectId | Yes | ||
| revisionHash | Yes | ||
| screenshotId | Yes | ||
| approvedFonts | Yes | ||
| approvedAssets | Yes |