context
Retrieve the surrounding messages around a specific message in a WeChat chat, with configurable counts before and after, to provide stable conversational context for analysis.
Instructions
Read bounded context around exactly one stable message anchor.
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": {
"chat": "<chat>"
},
"name": "context"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chat | Yes | ||
| local_id | No | ||
| after_count | No | ||
| before_count | No | ||
| display_order | No | asc | |
| server_id_str | No | ||
| include_anchor | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||