get_context
Retrieve a query-matched paragraph from an article along with its surrounding context paragraphs (with numbers) for close reading and verbatim quoting.
Instructions
单篇精读:返回该文章中命中 query 的段落及前后 window 段上下文(带段号)。 需要逐字引用原话时,必须从这里或 get_article 的返回文本中原样复制。
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": {
"article_id": "<article_id>",
"query": "<query>"
},
"name": "get_context"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | ||
| window | No | ||
| article_id | Yes |