import_asset
Import local images into the workspace and create immutable revisions. Accepts a single file or batch up to 64, with idempotent byte-identical imports and per-file failure reporting.
Instructions
Import a local image file into the workspace and issue an immutable revision.
Pass either path (one file) or paths (a batch of up to 64; one bad file does not
abort the batch, it lands in failed) - exactly one of the two.
Idempotent: importing the same bytes again returns the existing revision.
If the imported bytes are already the output of a recipe held in this workspace,
the result carries a warning plus already_derived_from so the same recipe is not
applied twice.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | 取り込むローカルファイルの絶対パス(または cwd からの相対パス)。 `paths` とは排他で、どちらか一方が必須。 | |
| paths | No | 複数ファイルを1回で取り込む(1..=64 件)。`path` とは排他。 1件が失敗してもバッチは中断せず、`failed` に理由が入る。 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||