seal_content
Seal an upload by fixing its bytes and publishing its SHA256 hash and lengths, making it immutable for use as a body reference. Returns the digest for verification.
Instructions
Seal an upload: fix its bytes and publish the sha256 and both lengths of the DOCUMENT. A sealed upload cannot be appended to — its number is published, so its bytes must stop moving. Only then can it be used as body_ref. Returns the digest to compare against 'shasum -a 256' of your own copy: same rule as everywhere here, sha256 over the raw UTF-8 bytes exactly as stored, no normalisation.
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": {
"upload_id": "<upload_id>"
},
"name": "seal_content"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| upload_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||