Put S3 object
s3_put_objectUpload text or binary data to an S3-compatible bucket. Supports base64 encoding for binary payloads and requires write access to be enabled.
Instructions
Upload object content. Requires S3_ALLOW_WRITE=true. Pass encoding=base64 to upload binary data from a base64 string.
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": {
"bucket": "<bucket>",
"key": "<key>",
"content": "<content>"
},
"name": "s3_put_object"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | Object key | |
| bucket | Yes | Bucket name | |
| content | Yes | Object body (text or base64) | |
| encoding | No | How to decode content (default: utf8) | |
| metadata | No | User metadata key/value map | |
| contentType | No | Content-Type header |