finalize_disclosure_upload
Finish disclosure upload
Finish a disclosure upload once every file's bytes are stored: Ohvii verifies the stored objects against the session and queues the package version for processing (splitting, extraction, findings). Returns queued; read progress with list_disclosure_packages. Calling it again for a finalized version is harmless. It contacts nobody and sends nothing.
- Effect
- Draft or workspace edit
- Required scopes
documents:write- Workflow stages
- offer, transaction
- Data classes
- disclosures, documents
- Operation cost
- 8 weighted units; additional domain limits may apply.
- Configurations
- Standard, Buyer UI v2
- Muse proposal
- Write. Creates or updates draft, document, or workspace data within the authorized workflow. Meta makes the final classification during review.
Buyer approval and signing controls apply in addition to the scopes above. Read error and retry guidance before implementing recovery.
Input and output contracts
Returns structured content and a JSON text content block. Live discovery may compact a large output schema; execution validates the full contract below.
Input fields
Required applies within the containing object. Optional fields can be omitted; null is accepted only where listed. Field descriptions and constraints come from the source schema. The raw schema remains the complete contract.
| Field | Required | Meaning and constraints |
|---|---|---|
packageIdstring | Yes | Pattern validation applies; see the raw schema. |
sourceIdsarray<string> | Yes | Minimum items: 1. Maximum items: 100. |
sourceIds: nested contractArray item contractPattern validation applies; see the raw schema. | ||
versionIdstring | Yes | Pattern validation applies; see the raw schema. |
workspaceIdstring | Yes | Pattern validation applies; see the raw schema. |
Output fields
Required applies within the containing object. Optional fields can be omitted; null is accepted only where listed. Field descriptions and constraints come from the source schema. The raw schema remains the complete contract.
| Field | Required | Meaning and constraints |
|---|---|---|
packageIdstring | Yes | Pattern validation applies; see the raw schema. |
schemaVersionstring | Yes | Must be "1". |
statusstring | Yes | Must be "queued". |
versionIdstring | Yes | Pattern validation applies; see the raw schema. |
workspaceIdstring | Yes | Pattern validation applies; see the raw schema. |
Raw input schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"packageId": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]{1,200}$"
},
"sourceIds": {
"minItems": 1,
"maxItems": 100,
"type": "array",
"items": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]{1,200}$"
}
},
"versionId": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]{1,200}$"
},
"workspaceId": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]{1,200}$"
}
},
"required": [
"packageId",
"sourceIds",
"versionId",
"workspaceId"
],
"additionalProperties": false
}Full output schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"packageId": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]{1,200}$"
},
"schemaVersion": {
"type": "string",
"const": "1"
},
"status": {
"type": "string",
"const": "queued"
},
"versionId": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]{1,200}$"
},
"workspaceId": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]{1,200}$"
}
},
"required": [
"packageId",
"schemaVersion",
"status",
"versionId",
"workspaceId"
],
"additionalProperties": false
}Tool annotations
{
"destructiveHint": false,
"idempotentHint": true,
"openWorldHint": false,
"readOnlyHint": false
}Reference 00e5441a095c7e20. Download the full catalog.