Complete document upload
air_upload_document_completeFinalize a document upload after the presigned PUT succeeds, then dispatch extraction for a project. Requires projects:write permission.
Instructions
Finalize a presigned upload after the PUT to uploadUrl succeeded. Dispatches the document extraction workflow. Requires projects:write.
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": {
"projectPid": "<projectPid>",
"s3Key": "<s3Key>",
"filename": "<filename>",
"contentType": "<contentType>"
},
"name": "air_upload_document_complete"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| s3Key | Yes | Storage key from air_upload_document_init | |
| filename | Yes | ||
| projectPid | Yes | ||
| contentType | Yes |