object_put_text
Writes small UTF-8 text objects (up to 1 MiB) with optional content type and metadata, refusing to replace existing keys unless overwrite is enabled. Use presigned uploads for larger files.
Instructions
Write a small UTF-8 text object (at most 1 MiB) with an optional content type and user metadata. Refuses when the key exists unless overwrite is true; use presign_put for larger uploads.
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>",
"text": "<text>"
},
"name": "object_put_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | ||
| text | Yes | ||
| bucket | Yes | ||
| region | No | ||
| metadata | No | ||
| overwrite | No | ||
| content_type | No | text/plain; charset=utf-8 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||