s3_get_object
Retrieve an S3 object from a bucket with a configurable byte cap; requests over the limit are refused instead of truncated, preventing oversized reads.
Instructions
Get an S3 object, capped by max_bytes (default 1 MiB, hard max 5 MiB).
Service: S3 API (not Swift). Read-only. Does not mutate state. Objects larger than the cap are refused rather than truncated.
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": "s3_get_object"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | ||
| bucket | Yes | ||
| max_bytes | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||