get_doc_chunks_info
Retrieve document chunk metadata such as total chunks and character count per chunk for structured analysis on Yuque MCP Server.
Instructions
获取文档的分块元信息,包括总块数、每块的字符数等
Input Schema
Name | Required | Description | Default |
---|---|---|---|
accessToken | No | 用于认证 API 请求的令牌 | |
chunk_size | No | 分块大小(字符数),默认为100000 | |
namespace | Yes | 知识库的命名空间,格式为 user/repo | |
slug | Yes | 文档的唯一标识或短链接名称 |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"accessToken": {
"description": "用于认证 API 请求的令牌",
"type": "string"
},
"chunk_size": {
"description": "分块大小(字符数),默认为100000",
"type": "number"
},
"namespace": {
"description": "知识库的命名空间,格式为 user/repo",
"type": "string"
},
"slug": {
"description": "文档的唯一标识或短链接名称",
"type": "string"
}
},
"required": [
"namespace",
"slug"
],
"type": "object"
}