Confirm an uploaded sample
confirm_uploadUse right after the PUT from request_upload. After the PUT: register the object at path as a sample of the task. Returns how many samples are in and how many the task wants.
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": {
"submission_id": "<submission_id>",
"path": "<path>"
},
"name": "confirm_upload"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| submission_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | No | The registered sample | |
| wanted | No | Samples the task needs | |
| received | No | Samples in | |
| ready_to_submit | No | All samples in |