Read a LINE conversation
get_messagesRetrieve both sides of a LINE conversation by chat ID, with optional time bounds and message limit, ordered from oldest to newest.
Instructions
Read both sides of one LINE conversation by chat ID, ordered oldest to newest.
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_id": "<chat_id>"
},
"name": "get_messages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| after | No | ISO 8601 inclusive lower time bound. | |
| limit | No | Maximum messages to return. | |
| before | No | ISO 8601 exclusive upper time bound. | |
| chat_id | Yes | Chat ID returned by list_chats. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||