Group of 5 Use it now
No documentation found
The artifact tool's upload_asset now accepts a list of files (file_paths) instead of just one at a time
What
upload_assetnow accepts afile_pathsarray to upload several local files into one artifact in a single call, alongside the existing single-filefile_path. A human-readable summary, like "3 files · "a.png", "b.png", 1 more", is shown for what was uploaded.- The artifacts tool also gained a
copy_from/asset_idsaction to copy assets from another artifact server-side. - Batch uploads via
file_pathsare disabled for non-interactive/scripted (SDK) callers, which must still upload one file per call. - If the asset store starts rate-limiting mid-batch, the remaining files in a
file_pathscall are held back with a specific retry message instead of the whole call failing. - A new error,
asset_upload_pin_mismatch, is returned if an approval that covered a batch upload is retried as a single-file call, or vice versa.
Why
This makes it much faster to attach multiple images or files to one artifact, instead of needing a separate tool call and approval for each file.
Names in the bundlefile_paths