Gitea: Upload chunk
gitea_upload_chunkAppends ordered base64-encoded chunks to a Gitea binary upload session, acting as a fallback when the HTTP upload URL from the start step is unavailable.
Instructions
[UNIFIED] Append one base64-encoded chunk to a Gitea binary upload session. Chunks must arrive in order. Prefer the HTTP upload URL from gitea_upload_start when available; this is the fallback path.
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": {
"site": "<site>",
"session_id": "<session_id>",
"index": "<index>",
"data_b64": "<data_b64>"
},
"name": "gitea_upload_chunk"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | Yes | ||
| index | Yes | ||
| data_b64 | Yes | ||
| session_id | Yes | ||
| chunk_sha256 | No |