Skip to main content
Glama

tos_put_object

Upload objects to TOS storage by providing bucket name, object key, and content, supporting base64 encoding and content type specification.

Instructions

上传对象到 TOS

Input Schema

NameRequiredDescriptionDefault
bucket_nameYes存储桶名称
contentYes文件内容(base64编码)或文本内容
content_typeNo内容类型application/octet-stream
is_base64No内容是否为base64编码
object_keyYes对象键名

Input Schema (JSON Schema)

{ "properties": { "bucket_name": { "description": "存储桶名称", "type": "string" }, "content": { "description": "文件内容(base64编码)或文本内容", "type": "string" }, "content_type": { "default": "application/octet-stream", "description": "内容类型", "type": "string" }, "is_base64": { "default": false, "description": "内容是否为base64编码", "type": "boolean" }, "object_key": { "description": "对象键名", "type": "string" } }, "required": [ "bucket_name", "object_key", "content" ], "type": "object" }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/jneless/tos-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server