swift_upload_object
Upload a small object to OpenStack Swift from plain text or base64 content, enforcing size limits for direct object creation.
Instructions
Upload a small object to Swift from text or base64.
Service: Swift (object-store). Mutates state. Provide exactly one of text or content_base64. Default cap is 1 MiB and the hard maximum is 5 MiB. This is not a general large-object uploader.
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_upload_object"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | ||
| container | Yes | ||
| max_bytes | No | ||
| object_name | Yes | ||
| content_type | No | ||
| content_base64 | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||