get_messages
Retrieve the message list for a specified conversation, with an optional limit on the number of messages returned. Use it to read chat history and check conversation status.
Instructions
获取指定会话的消息列表
Args: conversation_id: 会话 ID limit: 消息数量限制
Returns: 消息列表和状态
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": {
"conversation_id": "<conversation_id>"
},
"name": "get_messages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| conversation_id | Yes |