View Chunk Neighbor Context
view_chunk_contextInspect adjacent chunk windows by chunk_id to diagnose chunk-boundary defects such as split Markdown tables, truncated paragraphs, or missing heading levels.
Instructions
根据 chunk_id 只读查看同一文档版本号内前后相邻窗口切片,并自动诊断 Markdown 表格跨块劈断、段落截断或标题层级缺失等切片边界问题。
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": {
"chunk_id": "<chunk_id>"
},
"name": "view_chunk_context"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| window | No | 前后扩展展示的相邻切片窗口半径,范围 0–5,默认 1 | |
| chunk_id | Yes | 目标切片 ID(可从 inspect_retrieval 结果中的 chunk_id 获取) | |
| tenant_id | No | 可选:用于校验租户边界隔离 |