export_kit
Writes and returns a validated .kit.zip Virada cycling kit after reference-picture comparison and user approval; includes sheets, images, preview, and path.
Instructions
Write the kit file (.kit.zip: kit.json, the two finished sheets, its pictures, previews) and hand it back. Only after the compare loop shows the kit matching the user's pictures (see get_kit_spec's workflow); it refuses a kit that was never compared, or one with invented parts, until user_approved=true (the user has seen and agreed). The result carries the file itself (an embedded resource, application/zip, also readable later as kit://) for you to save or pass on, plus where the server wrote it (path: local servers; default its work folder) and a preview to check.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kit | Yes | ||
| path | No | ||
| user_approved | No |