confirm_upload
Verify uploaded file at signed URL and trigger automatic draft sample generation; pass upload path and format, use zip for archives, then poll listing status before publishing.
Instructions
Confirm a file has been uploaded to its signed URL and trigger automatic sample generation (drafts only). Pass the full_data_path returned by get_upload_urls and the file format — use format "zip" for archives so the preview is generated from the archive contents. Poll get_listing_status until the sample is ready before publishing.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"dataset_id": "<dataset_id>",
"full_data_path": "<full_data_path>"
},
"name": "confirm_upload"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | Format of the uploaded file. Strongly recommended — the upload path has no extension. | |
| dataset_id | Yes | The draft dataset ID | |
| full_data_path | Yes | The storage path from get_upload_urls (e.g. "{ownerId}/{datasetId}/full") |