swift_download_object
Download a Swift object from a container, capped by max_bytes to prevent large transfers. Objects exceeding the limit are refused, not truncated; text returns as content, other bytes as base64.
Instructions
Download a Swift object, capped by max_bytes (default 1 MiB, hard max 5 MiB).
Service: Swift (object-store). Read-only. Does not mutate state. Objects larger than max_bytes are refused rather than truncated. Text is returned as content; other bytes are content_base64.
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": {
"container": "<container>",
"object_name": "<object_name>"
},
"name": "swift_download_object"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| container | Yes | ||
| max_bytes | No | ||
| object_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||