Complete a document upload
helix_foundry_complete_document_uploadAfter an upload_document action, once its bytes are PUT to the upload URL: check them and add the document to its document set, which every ontology whose current version reads the set then reads (reads says how). Completing twice is no error.
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": {
"ontology_id": "<ontology_id>",
"document_id": "<document_id>"
},
"name": "helix_foundry_complete_document_upload"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| document_id | Yes | The document upload_document created. | |
| ontology_id | Yes | Foundry ontology identifier. | |
| workspace_id | No | Helix workspace identifier. May be empty when the caller has only one workspace (a service key always does). | |
| use_case_run_id | No | An open run of a use case (helix_foundry_start_use_case_run) to record this upload under; empty for none. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reads | Yes | ||
| document | Yes | ||
| content_trust | Yes |