doc_get
Retrieve specific documents from an Easysearch index using document ID and optional field filtering for targeted data access.
Instructions
获取文档
参数:
index: 索引名称
id: 文档 ID
source: 返回的字段列表
source_excludes: 排除的字段列表
routing: 路由值
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": {
"index": "<index>",
"id": "<id>"
},
"name": "doc_get"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| index | Yes | ||
| id | Yes | ||
| source | No | ||
| source_excludes | No | ||
| routing | No |