TOOL API
upload_ image
Uploads an image to Tencent Docs from its base64-encoded data and returns an imageID valid for one day, for use in image fields in Smart Sheets, smart documents, and similar. Pass the actual base64 data, not a file path or URL. If both tencent-docs (personal) and tencent-docs-oa (enterprise) are connected, use AskUserQuestion to let the user choose the target account before calling this tool.
productivityOAuth1 credits
Call information
- Tool slug
- tencent-docs.upload_image
- Provider
- Tencent Docs
- Average response
- 0 ms
- Calls in 7 days
- 0
Input parameters
file_namerequired图片文件名,用于识别图片类型,例如:image.png、photo.jpg,支持 .png/.jpg/.jpeg/.gif/.bmp/.webp/.svg 后缀
image_base64required图片的 base64 编码内容,支持 PNG、JPG、GIF、BMP、WEBP 等常见格式,图片大小不超过 10MB。注意:此处必须传入图片文件的实际 base64 编码数据(如 iVBORw0KGgo...),不要传入文件路径(如 /path/to/image.png)或 URL 地址