list_conversation_messages
List messages in a LinkedIn conversation via Voyager /messaging/conversations/{id}/events (Kanbox get_conversation_messages), with optional created_before paging — same as GET /api/linkedin/{account_id}/conversations/{conversation_linkedin_id}/messages. Do not call this in a loop to wait for replies: the same read is refused if repeated within 60s, inbox reads are capped at 300 per account per day, and polling gets LinkedIn accounts restricted. Subscribe a webhook to message.received instead. Use after list_conversations to read a thread before replying; the conversation_linkedin_id comes from list_conversations.
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": {
"account_id": "<account_id>",
"conversation_linkedin_id": "<conversation_linkedin_id>"
},
"name": "list_conversation_messages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page_id | No | The conversation is in this company page's inbox (page_id from list_managed_pages). Returns the latest messages; created_before is not supported there. | |
| account_id | Yes | Reach id of the LinkedIn account to act on, from list_accounts. | |
| created_before | No | Only messages created before this Unix timestamp in milliseconds, to page back in time. | |
| conversation_linkedin_id | Yes | Conversation (thread) id, as returned by list_conversations. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| has_more | No | True when LinkedIn likely has older events (page size 20). | |
| messages | No | ||
| total_count | No | Number of messages in this response. | |
| next_created_before | No | Pass as ``created_before`` to fetch the next (older) page. | |
| conversation_linkedin_id | No | Kanbox ``Conversation.linkedin_id`` / conversation key. |