读会话消息
read_messages登录/会话成员;默认最近倒序、nextBefore前翻;after=messageId增量正序,可轮询。
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": {
"conversationId": "<conversationId>"
},
"name": "read_messages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| after | No | 增量:取该 messageId 之后更新的消息 | |
| limit | No | 返回条数,默认 30 | |
| before | No | 向前翻页:取该 messageId 之前更老的消息 | |
| conversationId | Yes | 会话 id |