List LINE chats
list_chatsList LINE chats with names, kinds, unread counts, and last previews to identify the conversation to read before fetching messages; nothing is marked as read.
Instructions
List your LINE chats with name, kind, unread count and last preview.
Call this before get_messages to find the chat you want. A direct
chat is named after the other person; a group keeps its LINE name.
Nothing is marked as read. The listing is cached for a few minutes and
archived locally, so it still answers when LINE cannot be reached
(stale: true says the data came from the archive). total counts the
chats after filtering and before the limit; truncated is true when
more chats exist than limit returned.
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": "list_chats"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| query | No | Case-insensitive substring filter on the chat name. | |
| unread_only | No | Only chats that have unread messages. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||