file-search
Search and filter files by category or keyword in the 360 AI Cloud Drive. Retrieve detailed file information with pagination support for efficient file management.
Instructions
在云盘中根据关键词搜索文件和文件夹,支持按文件类型筛选和分页查询。返回符合条件的文件详细信息。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_category | No | 文件类型筛选:-1(全部)、0(其他)、1(图片)、2(文档)、3(音乐)、4(视频) | |
| key | No | 搜索关键词,当file_category 不为 -1 时,可以为空,否则必填 | |
| page | No | 页码,从1开始 | |
| page_size | No | 每页显示的条目数,默认20条,最大100条 |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"file_category": {
"default": -1,
"description": "文件类型筛选:-1(全部)、0(其他)、1(图片)、2(文档)、3(音乐)、4(视频)",
"type": "number"
},
"key": {
"default": "",
"description": "搜索关键词,当file_category 不为 -1 时,可以为空,否则必填",
"type": "string"
},
"page": {
"default": 1,
"description": "页码,从1开始",
"type": "number"
},
"page_size": {
"default": 20,
"description": "每页显示的条目数,默认20条,最大100条",
"type": "number"
}
},
"type": "object"
}