upload_base64
Upload base64-encoded data to an S3-compatible bucket and get back a public URL for attaching images or files to issues and PR reviews.
Instructions
Upload base64-encoded data to the S3 bucket and return its public URL
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": {
"data": "<data>",
"filename": "<filename>"
},
"name": "upload_base64"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | No | Custom object key. Auto-generated if omitted | |
| data | Yes | Base64-encoded file content | |
| filename | Yes | Filename for key generation and extension detection | |
| content_type | No | MIME type. Inferred from filename if omitted |