Read matching LINE chat activity
read_chat_activitySearch chats by name substring and read a bounded time window of messages in one operation, with explicit completeness metadata to verify coverage.
Instructions
Resolve every chat whose name contains one literal substring and read a bounded time window from those chats in one consistent operation. Returns explicit chat- and message-level completeness metadata. Use this for requests such as reading today's messages across all chats for one customer or project.
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": {
"name_contains": "<name_contains>",
"after": "<after>",
"before": "<before>"
},
"name": "read_chat_activity"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| after | Yes | Timezone-aware ISO 8601 inclusive lower time bound. | |
| before | Yes | Timezone-aware ISO 8601 exclusive upper time bound. | |
| chat_limit | No | Maximum matching chats to return. | |
| name_contains | Yes | Case-insensitive literal substring of the chat name. | |
| include_official | No | Include LINE official/business accounts. | |
| messages_per_chat | No | Maximum messages per matching chat. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| data | No | ||
| error | No | ||
| schema_version | No | 1 |