var2_confirm_upload
Validate + register a file uploaded via var2_request_upload: probes the object, rejects/deletes bytes whose magic-byte signature or size does not match type, records it in the user's library → real placeholder_id for var2_join_videos chaining. Call with path + type from the request_upload response AFTER the PUT succeeds. Optional — skip if you only need public_url.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Optional display name for the asset library. | |
| path | Yes | The storage `path` returned by var2_request_upload (e.g. "<userId>/<uuid>.png"). Must be inside your own prefix. | |
| type | Yes | Modality — must match what you requested the upload for. | |
| bucket | No | Ignored (derived from `type`); accepted so you can pass the request_upload response back verbatim. |