read session
minimax_read_sessionReads historical messages from a specified MiniMax session using its session ID or list index, with pagination and optional thinking content.
Instructions
读取指定会话的历史消息。session 支持会话 ID (mvs_*) 或列表序号。
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": "<session>"
},
"name": "minimax_read_session"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | 读取消息条数 | |
| before | No | 消息 ID 翻页锚点 | |
| session | Yes | 会话 ID 或序号 | |
| sessionId | No | 会话 ID 别名 (同 session) | |
| includeThinking | No | 是否包含思维链(Token消耗较大) |