attachment_chunk
Appends a base64-encoded chunk to an in-progress file upload, verifying the offset matches bytes already received to prevent misordered or corrupted data.
Instructions
Append one base64 slice of an in-progress upload. offset must equal the number of bytes already received; the server refuses a mismatch rather than guessing.
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": {
"uploadId": "<uploadId>",
"offset": "<offset>",
"data": "<data>"
},
"name": "attachment_chunk"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | Base64-encoded bytes. | |
| offset | Yes | ||
| uploadId | Yes |