migrate_drawing
Upgrade v1 drawings to v2, preserving appearance and creating an exact-byte backup; already-v2 files pass a revision-checked no-op.
Instructions
Upgrade v1 to v2 with an exact-byte backup and unchanged appearance. Already-v2 migration is a revision-checked no-op. Source 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>",
"expectedRevision": "<expectedRevision>"
},
"name": "migrate_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. | |
| preview | No | ||
| includeSource | No | ||
| expectedRevision | Yes |