Read unread messages
unreadList chats that still have messages to read and their newest messages in one call, reducing per-chat requests while leaving LINE read counts unchanged.
Instructions
List chats with unread messages and the newest messages in each.
One call instead of one get_messages per chat. Chats are ordered by
their latest activity, and chats_skipped says how many unread chats
did not fit in chats_limit. Every message read is archived, and
nothing is marked as read on LINE: the counts stay until the chat is
opened on the phone.
It costs one LINE request per chat, so the caps are low on purpose.
Images are downloaded only with include_images=true, because a digest
of ten chats can hold dozens. When LINE cannot be reached the archive
answers instead, and stale says so.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "unread"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| per_chat | No | How many newest messages per chat. | |
| chats_limit | No | How many unread chats to summarise. | |
| include_images | No | Attach the images in those messages (slower and larger). |