s3_put_object
Upload text or JSON content to an S3 bucket in LocalStack for local AWS testing. Specify bucket, key, and body to create or update objects.
Instructions
Upload a text or JSON object to an S3 bucket in LocalStack
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>",
"body": "<body>"
},
"name": "s3_put_object"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | Object key (path) | |
| body | Yes | Object content as a string | |
| bucket | Yes | Bucket name | |
| contentType | No | Content-Type header (default: text/plain) |