aws_s3_get_object
Download S3 object content from AWS, returning text as strings or binary as base64. Supports partial downloads with byte ranges for large files.
Instructions
Download and return the content of an S3 object. Text files are returned as strings; binary files as base64. Use 'range' for partial downloads of large files.
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>"
},
"name": "aws_s3_get_object"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| profile | No | AWS profile name from ~/.aws/config (e.g., 'default', 'production') | |
| region | No | AWS region override (e.g., 'us-east-1', 'sa-east-1') | |
| bucket | Yes | S3 bucket name | |
| key | Yes | Object key (path) | |
| range | No | Byte range (e.g., 'bytes=0-1023') for partial download |