upload_content
Upload large content in chunks by calling repeatedly with the same upload ID, then seal it for use as a message body. Enables sending documents too large for a single call.
Instructions
Upload a document in pieces, so a body too large to type in one call can still be sent. Call it repeatedly with the same 'upload_id' to append; call seal_content when the last piece is in. Then pass body_ref=<upload_id> to send_message, revise_message or pin_set instead of 'body'. Only the uploader may append; a sealed upload cannot be appended to; an append that would take the upload past 8 MiB of UTF-8 is refused. 'label' is at most 80 characters. A sealed upload has its own sha256 and both lengths, describing the document itself rather than the message that carries it. Returns the upload's current digest and upload_id.
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": {
"text": "<text>"
},
"name": "upload_content"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | ||
| label | No | ||
| upload_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||