search
Search documents or knowledge bases on Yuque platform with filters for scope and author, enabling precise content discovery based on type and criteria.
Instructions
在语雀平台中搜索文档或知识库内容,支持范围和作者筛选
Input Schema
Name | Required | Description | Default |
---|---|---|---|
accessToken | No | 用于认证 API 请求的令牌 | |
creator | No | 仅搜索指定作者的内容 | |
page | No | 页码,默认为1 | |
query | Yes | 搜索关键词 | |
scope | No | 搜索范围,不填默认搜索当前用户/团队 | |
type | Yes | 要搜索的内容类型:doc(文档) 或 repo(知识库) |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"accessToken": {
"description": "用于认证 API 请求的令牌",
"type": "string"
},
"creator": {
"description": "仅搜索指定作者的内容",
"type": "string"
},
"page": {
"description": "页码,默认为1",
"type": "number"
},
"query": {
"description": "搜索关键词",
"type": "string"
},
"scope": {
"description": "搜索范围,不填默认搜索当前用户/团队",
"type": "string"
},
"type": {
"description": "要搜索的内容类型:doc(文档) 或 repo(知识库)",
"enum": [
"doc",
"repo"
],
"type": "string"
}
},
"required": [
"query",
"type"
],
"type": "object"
}