Import a user figure template
figure_library_importImport scientific figures or validate and import Figure Transfer Package ZIPs. Adds them as draft visual references without executing code or storing host paths.
Instructions
Copy a user-supplied figure/code or validate and import a Figure Transfer Package ZIP. Transfer Packages enter as draft visual references. The tool never executes code or stores original absolute paths. Direct-write mode is retained for v0.2 compatibility; new Agents should use figure_library_plan_import and figure_library_apply_import.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tags | No | ||
| title | No | ||
| license | No | ||
| language | No | ||
| packages | No | ||
| assetKind | No | ||
| codePaths | No | Host-local paths to code/reference files. Files are copied but never executed. | |
| imagePath | No | Host-local path to a PNG, JPEG, WebP, SVG, or PDF reference. | |
| sourceKey | No | Portable stable source key for updateable direct imports. Never use a host path or secret. | |
| codeStatus | No | ||
| plotFamily | No | ||
| dataProfile | No | ||
| description | No | ||
| packagePath | No | Host-local path to a versioned Figure Transfer Package ZIP. | |
| reviewStatus | No | ||
| visualProfile | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| files | Yes | ||
| title | Yes | ||
| action | Yes | ||
| existed | Yes | ||
| warning | Yes | ||
| sourceId | Yes | ||
| directory | Yes | ||
| templateId | Yes | ||
| contentHash | No | ||
| reviewStatus | Yes |