Materialize a scientific figure template
figure_library_materializeCopy a selected scientific figure template or commit-pinned FigureYa archive into your destination folder without overwriting existing files or executing any code.
Instructions
Copy a selected user template or acquire a commit-pinned FigureYa archive. Never overwrites or executes code. If this tool returns any error, stop immediately, report it, and do not retry, fetch another archive, recreate the template, or draw a substitute.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | For FigureYa, template selects reference files and full extracts its complete archive. | template |
| templateId | Yes | ||
| destination | Yes | Parent directory. The tool creates destination/<templateId> and never overwrites it. | |
| allowNetwork | No | For FigureYa only. When false, fail instead of trying mirrors or GitHub. | |
| sourcePackDir | No | Optional FigureYa Source Pack containing <templateId>.zip or archives/<templateId>.zip. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | Yes | ||
| files | Yes | ||
| target | Yes | ||
| warning | Yes | ||
| sourceId | Yes | ||
| templateId | Yes | ||
| archiveSha256 | No | ||
| sourceLocation | No | ||
| materializationSource | Yes |