create_drawing
Save a validated native drawing source without overwriting; includes compact metadata and optional source or preview.
Instructions
Save native source without overwriting. For exact native fields read drawfather://schema/v2 or get_format; the engine validates that full schema before writing. Metadata is compact; includeSource and preview are opt-in.
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>",
"drawing": "<drawing>"
},
"name": "create_drawing"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Exact drawing file stem, without the .drawfather extension. Preserve the user-requested name; this is separate from design.title. | |
| drawing | Yes | ||
| preview | No | ||
| includeSource | No |