Finish a file upload
complete_uploadFinish an upload that create_upload_url started. Call it once the bytes have been PUT to the upload URL. The link does not serve anything until this succeeds. An HTML page is served at its own nudgehost.site address, as create_upload_url predicted. A ZIP that holds a file named index.html and is 100MB or smaller becomes a hosted site at its own address, so the URL this returns is the final one and can differ from the address create_upload_url predicted. A ZIP without an index.html, or over 100MB, stays a download. Report the URL this returns. It takes the id create_upload_url gave you and nothing else.
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": {
"id": "<id>"
},
"name": "complete_upload"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The id returned by create_upload_url for the upload you are finishing. |