Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| port | No | Optional parameter, when connection type is 'sse', you can freely set the port | 3001 |
| Bucket | No | Your COS bucket name (e.g. mybucket-123456) | |
| Region | No | The region where your COS bucket is located (e.g. ap-beijing) | |
| SecretId | No | Your Tencent Cloud SecretId for authentication | |
| SecretKey | No | Your Tencent Cloud SecretKey for authentication | |
| cos-config | No | JSON string containing COS configuration parameters (Region, Bucket, SecretId, SecretKey, DatasetName) | |
| DatasetName | No | Optional parameter, required for data intelligent retrieval operations | |
| connectType | No | Optional parameter to specify connection type, can be 'stdio' (local) or 'sse' (remote) | stdio |
Schema
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| getCosConfig | 获取COS配置, 腾讯云配置 |
| putObject | 上传本地文件到存储桶 |
| putObjectSourceUrl | 通过 url下载文件并将文件上传到存储桶 |
| getObjectUrl | 获取存储桶内的文件的带签名的下载链接 |
| getObject | 下载存储桶内的文件 |
| getBucket | 查询存储桶内的文件列表 |
| imageInfo | 图片处理-获取图片信息 |
| assessQuality | 图片处理-图片质量评估 |
| aiSuperResolution | 图片处理-超分辨率 |
| aiPicMatting | 图片处理-抠图 |
| aiQrcode | 图片处理-二维码识别-识别存储桶内二维码图片内容 |
| waterMarkFont | 生成带文字水印的图片 |
| createMediaSmartCoverJob | 创建媒体智能封面任务 |
| describeMediaJob | 根据 jobid 查询指定的媒体智能封面任务结果 |
| imageSearchPic | 根据输入的图片,从数据集中检索出与输入的图片内容相似的图片 |
| imageSearchText | 根据输入的文本内容,从数据集中检索出与输入的文本内容相符的图片 |
| createDocToPdfJob | 创建文档转 pdf 处理任务 |
| describeDocProcessJob | 根据 jobid 查询指定的文档转码任务结果 |