doc_extract
Retrieve versioned documentation snippets by entry ID and focused concept, receiving ranked relevant sections with release notes and source annotations.
Instructions
提取文档:按条目 id、版本与聚焦点(focus)取回相关文档片段,片段按相关度评分降序。focus 建议一次只描述一个概念(如 "路由参数"),跨概念问题分多次调用。version 缺省取最新稳定版;支持精确版本号与前缀(如 "4")。返回中包含 releaseNote 说明版本选择依据、source 标注数据来源。
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"id": "<id>"
},
"name": "doc_extract"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | 条目规范 id(catalog_lookup 返回,必填) | |
| focus | No | 聚焦概念,用于对片段做相关度排序(可选) | |
| version | No | 目标版本:latest / 精确版本号 / 前缀(默认 latest) | |
| maxSections | No | 最多返回几个片段,默认 6 |