Publish to the model library
edit_libraryPublish a 3D piece to the asset library as the next immutable version, keeping its model, photos, measurements, unit, box, brand, source link, change notes, and fidelity.
Instructions
Publish to the asset library: action=publish keeps a piece's model file — with its companion files, reference pictures, measured sizes, unit, box, brand and source link — as the next version of name, with notes on what changed and fidelity (what was estimated). A version never changes after; library lists them.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | publish: the piece whose model, photos, measurements and unit are kept, e.g. `f12` | |
| name | Yes | publish: the entry, lowercase letters, digits, - and _ (e.g. `oak-armchair`) | |
| notes | No | publish: what changed in this version | |
| action | Yes | `publish`: the piece's model as the next version of `name` | |
| fidelity | No | publish: how far it can be trusted (what was estimated, what was measured) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| v | No | ||
| ok | Yes | ||
| ids | No | ||
| rev | No | ||
| text | Yes |