get_message_context
Reads surrounding messages before and after a given session message, reporting clearly when that context is not available instead of guessing.
Instructions
按会话和localId读取消息前后语境;找不到时明确报告未覆盖,不猜测上下文。
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": {
"session_id": "<session_id>",
"local_id": "<local_id>"
},
"name": "get_message_context"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| after | No | ||
| before | No | ||
| offset | No | ||
| local_id | Yes | ||
| scan_limit | No | ||
| session_id | Yes |